Panda3D
|
This is a special kind of ConnectionReader that waits for activity on a rendezvous port and accepts a TCP connection (instead of attempting to read a datagram from the rendezvous port). More...
#include <pandadoc.hpp>
Additional Inherited Members | |
![]() | |
bool | addConnection (Connection connection) |
Adds a new socket to the list of sockets the ConnectionReader will monitor. | |
ConnectionManager | getManager () |
Returns a pointer to the ConnectionManager object that serves this ConnectionReader. | |
int | getNumThreads () |
Returns the number of threads the ConnectionReader has been created with. | |
bool | getRawMode () |
Returns the current setting of the raw mode flag. | |
int | getTcpHeaderSize () |
Returns the current setting of TCP header size. | |
bool | isConnectionOk (Connection connection) |
Returns true if the indicated connection has been added to the ConnectionReader and is being monitored properly, false if it is not known, or if there was some error condition detected on the connection. | |
bool | isPolling () |
Returns true if the reader is a polling reader, i.e. | |
poll () | |
Explicitly polls the available sockets to see if any of them have any noise. | |
bool | removeConnection (Connection connection) |
Removes a socket from the list of sockets being monitored. | |
setRawMode (bool mode) | |
Sets the ConnectionReader into raw mode (or turns off raw mode). | |
setTcpHeaderSize (int tcp_header_size) | |
Sets the header size of TCP packets. | |
shutdown () | |
Terminates all threads cleanly. | |
This is a special kind of ConnectionReader that waits for activity on a rendezvous port and accepts a TCP connection (instead of attempting to read a datagram from the rendezvous port).
It is itself an abstract class, as it doesn't define what to do with the established connection. See QueuedConnectionListener.