Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

P::IORequest_Get Class Reference
[Transparent Network I/O library]

Network I/O Get-request. More...

#include <piorequest.h>

Inheritance diagram for P::IORequest_Get:

P::IORequest List of all members.

Public Member Functions

 IORequest_Get (IOHandler *handler, const URL &url)
virtual ~IORequest_Get ()
virtual void open ()=0
 Opens a connection to the requested URL.

virtual void close ()=0
 Closes the connection.

virtual size_t receive (char *buff, size_t count)=0
 Receives requested data.


Detailed Description

Network I/O Get-request.

Definition at line 121 of file piorequest.h.


Constructor & Destructor Documentation

P::IORequest_Get::IORequest_Get IOHandler handler,
const URL url
 

virtual P::IORequest_Get::~IORequest_Get  )  [virtual]
 


Member Function Documentation

virtual void P::IORequest_Get::close  )  [pure virtual]
 

Closes the connection.

Closes the previously opened connection through the IOHandler object.

virtual void P::IORequest_Get::open  )  [pure virtual]
 

Opens a connection to the requested URL.

Open a connection to the URL through the IOHandler object that has been given upon object creation.

virtual size_t P::IORequest_Get::receive char *  buff,
size_t  count
[pure virtual]
 

Receives requested data.

Receives data from the previously opened connection using the IOHandler object.

Parameters:
buff buffer for receiving the data
count number of bytes requested
Returns:
number of bytes actually read, which may be less than requested.


The documentation for this class was generated from the following file:
Generated on Fri Mar 12 21:08:34 2004 for P::Classes by doxygen 1.3.3