#include <connectionManager.h>
Inheritance diagram for ConnectionManager:
Protected Types | |
typedef pset< PT(Connection) | Connections ) |
typedef pset< ConnectionReader * > | Readers |
typedef pset< ConnectionWriter * > | Writers |
Protected Member Functions | |
void | new_connection (const PT(Connection)&connection) |
virtual void | connection_reset (const PT(Connection)&connection)=0 |
void | add_reader (ConnectionReader *reader) |
void | remove_reader (ConnectionReader *reader) |
void | add_writer (ConnectionWriter *writer) |
void | remove_writer (ConnectionWriter *writer) |
Protected Attributes | |
Connections | _connections |
Readers | _readers |
Writers | _writers |
PRLock * | _set_mutex |
Private Member Functions | |
virtual | ~ConnectionManager () |
PT (Connection) open_UDP_connection(int port=0) | |
PT (Connection) open_TCP_server_rendezvous(int port | |
PT (Connection) open_TCP_client_connection(const NetAddress &address | |
PT (Connection) open_TCP_client_connection(const string &hostname | |
bool | close_connection (const PT(Connection)&connection) |
Static Private Member Functions | |
string | get_host_name () |
Private Attributes | |
PUBLISHED | __pad0__: ConnectionManager() |
int | backlog |
int | timeout_ms |
int | port |
int int | timeout_ms |
Friends | |
class | ConnectionReader |
class | ConnectionWriter |
class | ConnectionListener |
class | Connection |
|
Definition at line 77 of file connectionManager.h. |
|
Definition at line 78 of file connectionManager.h. |
|
Definition at line 79 of file connectionManager.h. |
|
Definition at line 49 of file connectionManager.cxx. References _readers, _set_mutex, and _writers. |
|
Definition at line 312 of file connectionManager.cxx. References _readers, _set_mutex, and reader(). |
|
Definition at line 338 of file connectionManager.cxx. References _set_mutex, _writers, and writer(). |
|
Definition at line 236 of file connectionManager.cxx. References _connections, _readers, _set_mutex, Connection::get_socket(), and pprerror(). |
|
|
Definition at line 280 of file connectionManager.cxx. |
|
Definition at line 299 of file connectionManager.cxx. References _connections, and _set_mutex. Referenced by ConnectionListener::process_incoming_data(). |
|
|
|
|
|
|
|
|
|
Definition at line 325 of file connectionManager.cxx. References _readers, _set_mutex, and reader(). Referenced by ConnectionReader::~ConnectionReader(). |
|
Definition at line 351 of file connectionManager.cxx. References _set_mutex, _writers, and writer(). Referenced by ConnectionWriter::~ConnectionWriter(). |
|
Definition at line 89 of file connectionManager.h. |
|
Definition at line 88 of file connectionManager.h. |
|
Definition at line 86 of file connectionManager.h. |
|
Definition at line 87 of file connectionManager.h. |
|
Reimplemented in QueuedConnectionManager. Definition at line 53 of file connectionManager.h. |
|
Definition at line 80 of file connectionManager.h. Referenced by close_connection(), and new_connection(). |
|
Definition at line 81 of file connectionManager.h. Referenced by add_reader(), close_connection(), remove_reader(), and ~ConnectionManager(). |
|
Definition at line 83 of file connectionManager.h. Referenced by add_reader(), add_writer(), close_connection(), new_connection(), remove_reader(), remove_writer(), and ~ConnectionManager(). |
|
Definition at line 82 of file connectionManager.h. Referenced by add_writer(), remove_writer(), and ~ConnectionManager(). |
|
Definition at line 58 of file connectionManager.h. |
|
Definition at line 61 of file connectionManager.h. |
|
Definition at line 61 of file connectionManager.h. |
|
Definition at line 60 of file connectionManager.h. |