15 #ifndef DATAGRAMGENERATORNET_H 16 #define DATAGRAMGENERATORNET_H 18 #include "pandabase.h" 20 #include "datagramGenerator.h" 21 #include "connectionReader.h" 22 #include "queuedReturn.h" 24 #include "conditionVar.h" 25 #include "netDatagram.h" 42 virtual bool get_datagram(
Datagram &data);
43 virtual bool is_eof();
44 virtual bool is_error();
48 virtual void receive_datagram(
const NetDatagram &datagram);
55 #include "datagramGeneratorNet.I" A specific kind of Datagram, especially for sending across or receiving from a network.
This class provides datagrams one-at-a-time as read directly from the net, via a TCP connection...
The primary interface to the low-level networking layer in this package.
A standard mutex, or mutual exclusion lock.
This is an abstract base class for a family of classes that listen for activity on a socket and respo...
A condition variable, usually used to communicate information about changing state to a thread that i...
This class defines the abstract interace to any source of datagrams, whether it be from a file or fro...
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...