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