git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52425 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
			
				
	
	
		
			57 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Objective-C
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Objective-C
		
	
	
	
	
	
/////////////////////////////////////////////////////////////////////////////
 | 
						|
// Name:        sckstrm.h
 | 
						|
// Purpose:     interface of wxSocketOutputStream
 | 
						|
// Author:      wxWidgets team
 | 
						|
// RCS-ID:      $Id$
 | 
						|
// Licence:     wxWindows license
 | 
						|
/////////////////////////////////////////////////////////////////////////////
 | 
						|
 | 
						|
/**
 | 
						|
    @class wxSocketOutputStream
 | 
						|
    @wxheader{sckstrm.h}
 | 
						|
 | 
						|
    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.
 | 
						|
 | 
						|
    @library{wxnet}
 | 
						|
    @category{streams}
 | 
						|
 | 
						|
    @see wxSocketBase
 | 
						|
*/
 | 
						|
class wxSocketOutputStream : public wxOutputStream
 | 
						|
{
 | 
						|
public:
 | 
						|
    /**
 | 
						|
        Creates a new write-only socket stream using the specified initialized
 | 
						|
        socket connection.
 | 
						|
    */
 | 
						|
    wxSocketOutputStream(wxSocketBase& s);
 | 
						|
};
 | 
						|
 | 
						|
 | 
						|
 | 
						|
/**
 | 
						|
    @class wxSocketInputStream
 | 
						|
    @wxheader{sckstrm.h}
 | 
						|
 | 
						|
    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.
 | 
						|
 | 
						|
    @library{wxnet}
 | 
						|
    @category{streams}
 | 
						|
 | 
						|
    @see wxSocketBase
 | 
						|
*/
 | 
						|
class wxSocketInputStream : public wxInputStream
 | 
						|
{
 | 
						|
public:
 | 
						|
    /**
 | 
						|
        Creates a new read-only socket stream using the specified initialized
 | 
						|
        socket connection.
 | 
						|
    */
 | 
						|
    wxSocketInputStream(wxSocketBase& s);
 | 
						|
};
 | 
						|
 |