2008-03-08 13:52:38 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: sckstrm.h
|
2008-03-10 15:24:38 +00:00
|
|
|
// Purpose: interface of wxSocketOutputStream
|
2008-03-08 13:52:38 +00:00
|
|
|
// Author: wxWidgets team
|
2010-07-13 13:29:13 +00:00
|
|
|
// Licence: wxWindows licence
|
2008-03-08 13:52:38 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
/**
|
|
|
|
@class wxSocketOutputStream
|
2008-03-08 14:43:31 +00:00
|
|
|
|
2008-03-08 13:52:38 +00: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 14:43:31 +00:00
|
|
|
|
2008-03-08 13:52:38 +00:00
|
|
|
@library{wxnet}
|
2008-10-04 14:30:56 +00:00
|
|
|
@category{net,streams}
|
2008-03-08 14:43:31 +00:00
|
|
|
|
2008-03-10 15:24:38 +00:00
|
|
|
@see wxSocketBase
|
2008-03-08 13:52:38 +00: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 15:24:38 +00:00
|
|
|
|
2008-03-08 13:52:38 +00:00
|
|
|
/**
|
|
|
|
@class wxSocketInputStream
|
2008-03-08 14:43:31 +00:00
|
|
|
|
2008-03-08 13:52:38 +00: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 14:43:31 +00:00
|
|
|
|
2008-03-08 13:52:38 +00:00
|
|
|
@library{wxnet}
|
2008-10-04 14:30:56 +00:00
|
|
|
@category{net,streams}
|
2008-03-08 14:43:31 +00:00
|
|
|
|
2008-03-10 15:24:38 +00:00
|
|
|
@see wxSocketBase
|
2008-03-08 13:52:38 +00: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 15:24:38 +00:00
|
|
|
|