]>
Commit | Line | Data |
---|---|---|
23324ae1 FM |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: sckstrm.h | |
e54c96f1 | 3 | // Purpose: interface of wxSocketOutputStream |
23324ae1 | 4 | // Author: wxWidgets team |
526954c5 | 5 | // Licence: wxWindows licence |
23324ae1 FM |
6 | ///////////////////////////////////////////////////////////////////////////// |
7 | ||
8 | /** | |
9 | @class wxSocketOutputStream | |
7c913512 | 10 | |
23324ae1 FM |
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. | |
7c913512 | 14 | |
23324ae1 | 15 | @library{wxnet} |
4876436a | 16 | @category{net,streams} |
7c913512 | 17 | |
e54c96f1 | 18 | @see wxSocketBase |
23324ae1 FM |
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 | ||
e54c96f1 | 31 | |
23324ae1 FM |
32 | /** |
33 | @class wxSocketInputStream | |
7c913512 | 34 | |
23324ae1 FM |
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. | |
7c913512 | 38 | |
23324ae1 | 39 | @library{wxnet} |
4876436a | 40 | @category{net,streams} |
7c913512 | 41 | |
e54c96f1 | 42 | @see wxSocketBase |
23324ae1 FM |
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 | }; | |
e54c96f1 | 53 |