]>
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 | |
11 | @wxheader{sckstrm.h} | |
7c913512 | 12 | |
23324ae1 FM |
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. | |
7c913512 | 16 | |
23324ae1 FM |
17 | @library{wxnet} |
18 | @category{streams} | |
7c913512 | 19 | |
e54c96f1 | 20 | @see wxSocketBase |
23324ae1 FM |
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 | ||
e54c96f1 | 33 | |
23324ae1 FM |
34 | /** |
35 | @class wxSocketInputStream | |
36 | @wxheader{sckstrm.h} | |
7c913512 | 37 | |
23324ae1 FM |
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. | |
7c913512 | 41 | |
23324ae1 FM |
42 | @library{wxnet} |
43 | @category{streams} | |
7c913512 | 44 | |
e54c96f1 | 45 | @see wxSocketBase |
23324ae1 FM |
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 | }; | |
e54c96f1 | 56 |