14#ifndef DATAGRAMGENERATORNET_H
15#define DATAGRAMGENERATORNET_H
45 virtual void receive_datagram(
const NetDatagram &datagram);
A condition variable, usually used to communicate information about changing state to a thread that i...
ConnectionReader(ConnectionManager *manager, int num_threads, const std::string &thread_name=std::string())
Creates a new ConnectionReader with the indicated number of threads to handle requests.
virtual bool is_error()
Returns true if the stream has an error condition.
DatagramGeneratorNet(ConnectionManager *manager, int num_threads)
Creates a new DatagramGeneratorNet with the indicated number of threads to handle requests.
virtual bool get_datagram(Datagram &data)
Reads the next datagram from the stream.
virtual bool is_eof()
Returns true if the stream has been closed normally.
DatagramGenerator()
Does nothing since this is class is just the definition of an interface.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
A standard mutex, or mutual exclusion lock.
A specific kind of Datagram, especially for sending across or receiving from a network.
This is the implementation of a family of things that queue up their return values for later retrieva...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.