HTTP_Client is intended to provide application API to classes that wish to do network i/o at a very high level of abstraction. More...
Public Member Functions
|int||open (const ACE_TCHAR *filename, const ACE_TCHAR *hostname=ACE_DEFAULT_SERVER_HOST, u_short port=80)|
|int||read (ACE_Message_Block *mb)|
|Frees memory allocated for filename. |
|Store the internet address of the server. |
|The filename. |
|The connector endpoint to initiate the client connection. |
HTTP_Client is intended to provide application API to classes that wish to do network i/o at a very high level of abstraction.
This class provides the ability to retrieve data from the network, of specified length and offset, and potentially use any protocol "under the hood" to do so. It currently uses HTTP. See HTTP_Handler also.
Frees memory allocated for filename.
|int TAO_HTTP_Client::open||(||const ACE_TCHAR *||filename,|
|const ACE_TCHAR *|| hostname =
|u_short|| port = |
Initializes the class with the given filename, hostname and port. it should be called with the filename, before any read/write calls
|int TAO_HTTP_Client::read||(||ACE_Message_Block *||mb||)|
Starts a connection, and reads a file from the server into Message_Block mb
The connector endpoint to initiate the client connection.