]>
Commit | Line | Data |
---|---|---|
1 | ///////////////////////////////////////////////////////////////////////////// | |
2 | // Name: sckstrm.h | |
3 | // Purpose: interface of wxSocketOutputStream | |
4 | // Author: wxWidgets team | |
5 | // RCS-ID: $Id$ | |
6 | // Licence: wxWindows license | |
7 | ///////////////////////////////////////////////////////////////////////////// | |
8 | ||
9 | /** | |
10 | @class wxSocketOutputStream | |
11 | @wxheader{sckstrm.h} | |
12 | ||
13 | This class implements an output stream which writes data from | |
14 | a connected socket. Note that this stream is purely sequential | |
15 | and it does not support seeking. | |
16 | ||
17 | @library{wxnet} | |
18 | @category{streams} | |
19 | ||
20 | @see wxSocketBase | |
21 | */ | |
22 | class wxSocketOutputStream : public wxOutputStream | |
23 | { | |
24 | public: | |
25 | /** | |
26 | Creates a new write-only socket stream using the specified initialized | |
27 | socket connection. | |
28 | */ | |
29 | wxSocketOutputStream(wxSocketBase& s); | |
30 | }; | |
31 | ||
32 | ||
33 | ||
34 | /** | |
35 | @class wxSocketInputStream | |
36 | @wxheader{sckstrm.h} | |
37 | ||
38 | This class implements an input stream which reads data from | |
39 | a connected socket. Note that this stream is purely sequential | |
40 | and it does not support seeking. | |
41 | ||
42 | @library{wxnet} | |
43 | @category{streams} | |
44 | ||
45 | @see wxSocketBase | |
46 | */ | |
47 | class wxSocketInputStream : public wxInputStream | |
48 | { | |
49 | public: | |
50 | /** | |
51 | Creates a new read-only socket stream using the specified initialized | |
52 | socket connection. | |
53 | */ | |
54 | wxSocketInputStream(wxSocketBase& s); | |
55 | }; | |
56 |