2008-03-08 08:52:38 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: sckstrm.h
|
2008-03-10 11:24:38 -04:00
|
|
|
// Purpose: interface of wxSocketOutputStream
|
2008-03-08 08:52:38 -05:00
|
|
|
// Author: wxWidgets team
|
2010-07-13 09:29:13 -04:00
|
|
|
// Licence: wxWindows licence
|
2008-03-08 08:52:38 -05:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
/**
|
|
|
|
@class wxSocketOutputStream
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
This class implements an output stream which writes data from
|
|
|
|
a connected socket. Note that this stream is purely sequential
|
|
|
|
and it does not support seeking.
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
@library{wxnet}
|
2008-10-04 10:30:56 -04:00
|
|
|
@category{net,streams}
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-10 11:24:38 -04:00
|
|
|
@see wxSocketBase
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
class wxSocketOutputStream : public wxOutputStream
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
Creates a new write-only socket stream using the specified initialized
|
|
|
|
socket connection.
|
|
|
|
*/
|
|
|
|
wxSocketOutputStream(wxSocketBase& s);
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2008-03-10 11:24:38 -04:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
/**
|
|
|
|
@class wxSocketInputStream
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
This class implements an input stream which reads data from
|
|
|
|
a connected socket. Note that this stream is purely sequential
|
|
|
|
and it does not support seeking.
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-08 08:52:38 -05:00
|
|
|
@library{wxnet}
|
2008-10-04 10:30:56 -04:00
|
|
|
@category{net,streams}
|
2008-03-08 09:43:31 -05:00
|
|
|
|
2008-03-10 11:24:38 -04:00
|
|
|
@see wxSocketBase
|
2008-03-08 08:52:38 -05:00
|
|
|
*/
|
|
|
|
class wxSocketInputStream : public wxInputStream
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
/**
|
|
|
|
Creates a new read-only socket stream using the specified initialized
|
|
|
|
socket connection.
|
|
|
|
*/
|
|
|
|
wxSocketInputStream(wxSocketBase& s);
|
|
|
|
};
|
2008-03-10 11:24:38 -04:00
|
|
|
|