#include <connectionWriter.h>
Protected Member Functions | |
void | clear_manager () |
Protected Attributes | |
ConnectionManager * | _manager |
Private Types | |
typedef pvector< PRThread * > | Threads |
Private Member Functions | |
~ConnectionWriter () | |
bool | send (const Datagram &datagram, const PT(Connection)&connection) |
bool | send (const Datagram &datagram, const PT(Connection)&connection, const NetAddress &address) |
bool | is_valid_for_udp (const Datagram &datagram) const |
ConnectionManager * | get_manager () const |
bool | is_immediate () const |
int | get_num_threads () const |
void | set_raw_mode (bool mode) |
bool | get_raw_mode () const |
void | thread_run () |
bool | send_datagram (const NetDatagram &datagram) |
Static Private Member Functions | |
void | thread_start (void *data) |
Private Attributes | |
PUBLISHED | __pad0__: ConnectionWriter(ConnectionManager *manager |
PUBLISHED int | num_threads |
bool | _raw_mode |
DatagramQueue | _queue |
Threads | _threads |
bool | _immediate |
Friends | |
class | ConnectionManager |
|
Definition at line 81 of file connectionWriter.h. |
|
Definition at line 66 of file connectionWriter.cxx. References _manager, _queue, _threads, NULL, pprerror(), ConnectionManager::remove_writer(), and DatagramQueue::shutdown(). |
|
Definition at line 257 of file connectionWriter.cxx. |
|
Definition at line 190 of file connectionWriter.cxx. References _manager. |
|
Definition at line 212 of file connectionWriter.cxx. References _threads. |
|
Definition at line 242 of file connectionWriter.cxx. References _raw_mode. |
|
Definition at line 201 of file connectionWriter.cxx. References _immediate. |
|
Definition at line 179 of file connectionWriter.cxx. References Datagram::get_length(). |
|
Definition at line 143 of file connectionWriter.cxx. References _queue, address, Datagram::get_length(), Connection::get_socket(), DatagramQueue::insert(), NULL, Connection::send_datagram(), Connection::send_raw_datagram(), NetDatagram::set_address(), and NetDatagram::set_connection(). |
|
Definition at line 108 of file connectionWriter.cxx. References _queue, Connection::get_socket(), DatagramQueue::insert(), NULL, Connection::send_datagram(), Connection::send_raw_datagram(), and NetDatagram::set_connection(). Referenced by main(), and HTTPClient::send(). |
|
|
|
Definition at line 231 of file connectionWriter.cxx. References _raw_mode, and mode. Referenced by HTTPClient::HTTPClient(), and main(). |
|
Definition at line 281 of file connectionWriter.cxx. References _immediate, _queue, and DatagramQueue::extract(). |
|
Definition at line 270 of file connectionWriter.cxx. References data. |
|
Definition at line 85 of file connectionWriter.h. |
|
Definition at line 47 of file connectionWriter.h. |
|
Definition at line 83 of file connectionWriter.h. Referenced by is_immediate(), and thread_run(). |
|
Definition at line 75 of file connectionWriter.h. Referenced by clear_manager(), get_manager(), and ~ConnectionWriter(). |
|
Definition at line 79 of file connectionWriter.h. Referenced by send(), thread_run(), and ~ConnectionWriter(). |
|
Definition at line 78 of file connectionWriter.h. Referenced by get_raw_mode(), and set_raw_mode(). |
|
Definition at line 82 of file connectionWriter.h. Referenced by get_num_threads(), and ~ConnectionWriter(). |
|
Definition at line 47 of file connectionWriter.h. |