]> git.saurik.com Git - wxWidgets.git/blob - interface/wx/sckstrm.h
6f63ee4c15763193ef3a3c3a159e0443c9bd2bfe
[wxWidgets.git] / interface / wx / sckstrm.h
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
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.
15
16 @library{wxnet}
17 @category{net,streams}
18
19 @see wxSocketBase
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
32
33 /**
34 @class wxSocketInputStream
35
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.
39
40 @library{wxnet}
41 @category{net,streams}
42
43 @see wxSocketBase
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 };
54