34 static 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();
75 std::string _hostname;
PStatMonitor * get_monitor()
Returns the monitor that this reader serves.
A specific kind of Datagram, especially for sending across or receiving from a network.
void set_tcp_connection(Connection *tcp_connection)
This is intended to be called only once, immediately after construction, by the PStatListener that cr...
The data associated with a particular client, but not with any one particular frame or thread: the li...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This kind of message is sent from the client to the server on the TCP socket to establish critical co...
void idle()
Called each frame to do what needs to be done for the monitor's user- defined idle routines.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is an abstract base class for a family of classes that listen for activity on a socket and respo...
This is an abstract class that presents the interface to any number of different front-ends for the s...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is the class that does all the work for handling communications from a single Panda client.
void lost_connection()
This is called by the PStatServer when it detects that the connection has been lost.
Contains the raw timing and level data for a single frame.
This class handles threaded delivery of datagrams to various TCP or UDP sockets.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
The overall manager of the network connections.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
Represents a single TCP or UDP socket for input or output.
An ordered list of data elements, formatted in memory for transmission over a socket or writing to a ...
void close()
This will be called by the PStatClientData in response to its close() call.