14#ifndef RECENTCONNECTIONREADER_H
15#define RECENTCONNECTIONREADER_H
34 explicit RecentConnectionReader(ConnectionManager *manager);
35 virtual ~RecentConnectionReader();
42 virtual void receive_datagram(
const NetDatagram &datagram);
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.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
This is a standard, non-reentrant mutex, similar to the Mutex class.
A specific kind of Datagram, especially for sending across or receiving from a network.
bool data_available()
Returns true if a datagram is available on the queue; call get_data() to extract the datagram.
bool get_data(NetDatagram &result)
If a previous call to data_available() returned true, this function will return the datagram that has...
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.