16 #include "pandabase.h" 17 #include "directsymbols.h" 18 #include "queuedConnectionManager.h" 19 #include "queuedConnectionReader.h" 20 #include "connectionWriter.h" 21 #include "queuedConnectionListener.h" 74 void listen_to(
int port,
int backlog=8);
83 int client_ready(
const string& server_host,
int port,
const string& cmd);
98 int tell_server(
const string& server_host,
int port,
const string& cmd);
108 bool wait_for_servers(
int count,
int timeout_ms=2*60*1000);
112 int server_ready(
const string& client_host,
int port);
119 int connect_to(
const string& server_host,
int port);
125 void disconnect_from(
const string& server_host,
int port);
129 void send_command(
const string& cmd);
132 void start_app(
const string& cmd);
133 void kill_app(
int index);
135 virtual void handle_command(
const string& cmd);
137 void send_one_message(
const string& host_name,
138 int port,
const string& message);
156 ConnectionSet _connections;
160 void check_for_new_clients();
161 void check_for_datagrams();
162 void check_for_lost_connection();
A specific kind of Datagram, especially for sending across or receiving from a network.
This flavor of ConnectionManager will queue up all of the reset-connection messages from the Connecti...
This is our own Panda specialization on the default STL vector.
This class handles threaded delivery of datagrams to various TCP or UDP sockets.
DirectD is a client/server app for starting panda/direct.
This flavor of ConnectionReader will read from its sockets and queue up all of the datagrams read for...
This flavor of ConnectionListener will queue up all of the TCP connections it established for later d...