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

QueuedConnectionListener Class Reference

#include <queuedConnectionListener.h>

Inheritance diagram for QueuedConnectionListener:

ConnectionListener QueuedReturn< ConnectionListenerData > ConnectionReader List of all members.

Protected Member Functions

virtual void connection_opened (const PT(Connection)&rendezvous, const NetAddress &address, const PT(Connection)&new_connection)

Private Member Functions

virtual ~QueuedConnectionListener ()
bool new_connection_available ()
bool get_new_connection (PT(Connection)&rendezvous, NetAddress &address, PT(Connection)&new_connection)
bool get_new_connection (PT(Connection)&new_connection)

Private Attributes

PUBLISHED __pad0__: QueuedConnectionListener(ConnectionManager *manager
PUBLISHED int num_threads

Constructor & Destructor Documentation

QueuedConnectionListener::~QueuedConnectionListener  )  [private, virtual]
 

Definition at line 39 of file queuedConnectionListener.cxx.

References ConnectionReader::shutdown().


Member Function Documentation

void QueuedConnectionListener::connection_opened const PT(Connection)&  rendezvous,
const NetAddress address,
const PT(Connection)&  new_connection
[protected, virtual]
 

Implements ConnectionListener.

Definition at line 119 of file queuedConnectionListener.cxx.

References ConnectionListenerData::_address, address, and QueuedReturn< ConnectionListenerData >::enqueue_thing().

bool QueuedConnectionListener::get_new_connection PT(Connection)&  new_connection  )  [private]
 

Definition at line 103 of file queuedConnectionListener.cxx.

References address, get_new_connection(), and PT.

bool QueuedConnectionListener::get_new_connection PT(Connection)&  rendezvous,
NetAddress address,
PT(Connection)&  new_connection
[private]
 

Definition at line 80 of file queuedConnectionListener.cxx.

References ConnectionListenerData::_address, address, and QueuedReturn< ConnectionListenerData >::get_thing().

Referenced by get_new_connection(), and main().

bool QueuedConnectionListener::new_connection_available  )  [private]
 

Definition at line 53 of file queuedConnectionListener.cxx.

References ConnectionReader::poll(), and QueuedReturn< ConnectionListenerData >::thing_available().

Referenced by main().


Member Data Documentation

PUBLISHED QueuedConnectionListener::__pad0__ [private]
 

Reimplemented from ConnectionListener.

Definition at line 57 of file queuedConnectionListener.h.

PUBLISHED int QueuedConnectionListener::num_threads [private]
 

Reimplemented from ConnectionListener.

Definition at line 57 of file queuedConnectionListener.h.


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:13:22 2003 for Panda by doxygen1.3