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
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Licence: wxWindows license
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
/**
|
|
|
|
@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}
|
|
|
|
@category{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}
|
|
|
|
@category{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
|
|
|
|