15 #ifndef QUEUEDCONNECTIONREADER_H 16 #define QUEUEDCONNECTIONREADER_H 18 #include "pandabase.h" 20 #include "connectionReader.h" 21 #include "netDatagram.h" 22 #include "queuedReturn.h" 23 #include "lightMutex.h" 43 BLOCKING
bool data_available();
48 virtual void receive_datagram(
const NetDatagram &datagram);
50 #ifdef SIMULATE_NETWORK_DELAY 52 void start_delay(
double min_delay,
double max_delay);
59 class DelayedDatagram {
69 double _min_delay, _delay_variance;
71 #endif // SIMULATE_NETWORK_DELAY A specific kind of Datagram, especially for sending across or receiving from a network.
The primary interface to the low-level networking layer in this package.
This is our own Panda specialization on the default STL deque.
This is an abstract base class for a family of classes that listen for activity on a socket and respo...
This flavor of ConnectionReader will read from its sockets and queue up all of the datagrams read for...
This is a standard, non-reentrant mutex, similar to the Mutex class.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...