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