Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

HTTPClient Class Reference

List of all members.

Public Member Functions

 HTTPClient ()
bool connect (const string &server, int port)
bool send (const string &data)
bool read (string &result)
bool test_connection ()
void close ()
bool is_closed () const

Public Attributes

QueuedConnectionManager _manager
QueuedConnectionReader _reader
ConnectionWriter _writer
PointerTo< Connection_connection

Constructor & Destructor Documentation

HTTPClient::HTTPClient  ) 
 

Definition at line 53 of file test_proxy.cxx.

References _reader, _writer, ConnectionWriter::set_raw_mode(), and ConnectionReader::set_raw_mode().


Member Function Documentation

void HTTPClient::close  ) 
 

Definition at line 115 of file test_proxy.cxx.

References _connection, _manager, and NULL.

bool HTTPClient::connect const string &  server,
int  port
 

Definition at line 62 of file test_proxy.cxx.

References _connection, and _manager.

bool HTTPClient::is_closed  )  const
 

Definition at line 124 of file test_proxy.cxx.

bool HTTPClient::read string &  result  ) 
 

Definition at line 83 of file test_proxy.cxx.

References _reader, QueuedConnectionReader::get_data(), and Datagram::get_message().

bool HTTPClient::send const string &  data  ) 
 

Definition at line 76 of file test_proxy.cxx.

References _writer.

bool HTTPClient::test_connection  ) 
 

Definition at line 99 of file test_proxy.cxx.

References _connection, _manager, ConnectionManager::close_connection(), and NULL.


Member Data Documentation

PointerTo< Connection > HTTPClient::_connection
 

Definition at line 49 of file test_proxy.cxx.

Referenced by close(), connect(), and test_connection().

QueuedConnectionManager HTTPClient::_manager
 

Definition at line 46 of file test_proxy.cxx.

Referenced by close(), connect(), and test_connection().

QueuedConnectionReader HTTPClient::_reader
 

Definition at line 47 of file test_proxy.cxx.

Referenced by HTTPClient(), and read().

ConnectionWriter HTTPClient::_writer
 

Definition at line 48 of file test_proxy.cxx.

Referenced by HTTPClient(), and send().


The documentation for this class was generated from the following file:
Generated on Fri May 2 00:51:33 2003 for Panda by doxygen1.3