34static const int queued_frame_records = 500;
55 std::string get_hostname();
58 virtual void receive_datagram(
const NetDatagram &datagram);
61 void handle_client_udp_data(
const Datagram &datagram);
62 void dequeue_frame_data();
69 PT(Connection) _tcp_connection;
70 PT(Connection) _udp_connection;
75 std::string _hostname;
84 QueuedFrameData _queued_frame_data;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This class implements a queue of some type via a circular buffer.
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.
This class handles threaded delivery of datagrams to various TCP or UDP sockets.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
A specific kind of Datagram, especially for sending across or receiving from a network.
This kind of message is sent from the client to the server on the TCP socket to establish critical co...
The data associated with a particular client, but not with any one particular frame or thread: the li...
Contains the raw timing and level data for a single frame.
This is an abstract class that presents the interface to any number of different front-ends for the s...
void lost_connection()
This is called by the PStatServer when it detects that the connection has been lost.
void set_tcp_connection(Connection *tcp_connection)
This is intended to be called only once, immediately after construction, by the PStatListener that cr...
void idle()
Called each frame to do what needs to be done for the monitor's user- defined idle routines.
void close()
This will be called by the PStatClientData in response to its close() call.
PStatMonitor * get_monitor()
Returns the monitor that this reader serves.
The overall manager of the network connections.
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.