$search
Public Member Functions | |
Polled () | |
~Polled () | |
Protected Member Functions | |
void | connectionReceived (const TransportTCPPtr &transport) |
void | onDisconnect (const TransportPtr &transport, int index) |
void | onReadable (const TransportPtr &transport, int index) |
void | onWriteable (const TransportPtr &transport, int index) |
void | pollThread () |
virtual void | SetUp () |
virtual void | TearDown () |
Protected Attributes | |
int | bytes_read_ [3] |
int | bytes_written_ [3] |
volatile bool | continue_ |
bool | disconnected_ [3] |
PollSet | poll_set_ |
boost::thread | poll_thread_ |
TransportTCPPtr | transports_ [3] |
Definition at line 185 of file test_transport_tcp.cpp.
Polled::Polled | ( | ) | [inline] |
Definition at line 188 of file test_transport_tcp.cpp.
Polled::~Polled | ( | ) | [inline] |
Definition at line 192 of file test_transport_tcp.cpp.
void Polled::connectionReceived | ( | const TransportTCPPtr & | transport | ) | [inline, protected] |
Definition at line 199 of file test_transport_tcp.cpp.
void Polled::onDisconnect | ( | const TransportPtr & | transport, | |
int | index | |||
) | [inline, protected] |
Definition at line 233 of file test_transport_tcp.cpp.
void Polled::onReadable | ( | const TransportPtr & | transport, | |
int | index | |||
) | [inline, protected] |
Definition at line 212 of file test_transport_tcp.cpp.
void Polled::onWriteable | ( | const TransportPtr & | transport, | |
int | index | |||
) | [inline, protected] |
Definition at line 223 of file test_transport_tcp.cpp.
void Polled::pollThread | ( | ) | [inline, protected] |
Definition at line 204 of file test_transport_tcp.cpp.
virtual void Polled::SetUp | ( | ) | [inline, protected, virtual] |
Definition at line 240 of file test_transport_tcp.cpp.
virtual void Polled::TearDown | ( | ) | [inline, protected, virtual] |
Definition at line 292 of file test_transport_tcp.cpp.
int Polled::bytes_read_[3] [protected] |
Definition at line 304 of file test_transport_tcp.cpp.
int Polled::bytes_written_[3] [protected] |
Definition at line 305 of file test_transport_tcp.cpp.
volatile bool Polled::continue_ [protected] |
Definition at line 311 of file test_transport_tcp.cpp.
bool Polled::disconnected_[3] [protected] |
Definition at line 306 of file test_transport_tcp.cpp.
PollSet Polled::poll_set_ [protected] |
Definition at line 308 of file test_transport_tcp.cpp.
boost::thread Polled::poll_thread_ [protected] |
Definition at line 310 of file test_transport_tcp.cpp.
TransportTCPPtr Polled::transports_[3] [protected] |
Definition at line 303 of file test_transport_tcp.cpp.