14 #ifndef QUEUEDCONNECTIONREADER_H 15 #define QUEUEDCONNECTIONREADER_H 39 BLOCKING
bool data_available();
44 virtual void receive_datagram(
const NetDatagram &datagram);
46 #ifdef SIMULATE_NETWORK_DELAY 48 void start_delay(
double min_delay,
double max_delay);
55 class DelayedDatagram {
65 double _min_delay, _delay_variance;
67 #endif // SIMULATE_NETWORK_DELAY A specific kind of Datagram, especially for sending across or receiving from a network.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The primary interface to the low-level networking layer in this package.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...