Go to the documentation of this file.
14 #ifndef DATAGRAMGENERATORNET_H
15 #define DATAGRAMGENERATORNET_H
39 virtual bool get_datagram(
Datagram &data);
40 virtual bool is_eof();
41 virtual bool is_error();
45 virtual void receive_datagram(
const NetDatagram &datagram);
This class defines the abstract interace to any source of datagrams, whether it be from a file or fro...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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 ...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A standard mutex, or mutual exclusion lock.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The primary interface to the low-level networking layer in this package.
A condition variable, usually used to communicate information about changing state to a thread that i...
A specific kind of Datagram, especially for sending across or receiving from a network.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class provides datagrams one-at-a-time as read directly from the net, via a TCP connection.
This is an abstract base class for a family of classes that listen for activity on a socket and respo...