]> git.saurik.com Git - wxWidgets.git/blame - interface/wx/sckstrm.h
Implement wx-prefixed macros versions of DECLARE/IMPLEMENT*CLASS macros.
[wxWidgets.git] / interface / wx / sckstrm.h
CommitLineData
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 16 @library{wxnet}
4876436a 17 @category{net,streams}
7c913512 18
e54c96f1 19 @see wxSocketBase
23324ae1
FM
20*/
21class wxSocketOutputStream : public wxOutputStream
22{
23public:
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 40 @library{wxnet}
4876436a 41 @category{net,streams}
7c913512 42
e54c96f1 43 @see wxSocketBase
23324ae1
FM
44*/
45class wxSocketInputStream : public wxInputStream
46{
47public:
48 /**
49 Creates a new read-only socket stream using the specified initialized
50 socket connection.
51 */
52 wxSocketInputStream(wxSocketBase& s);
53};
e54c96f1 54