67 void listen_to(
int port,
int backlog=8);
76 int client_ready(
const std::string& server_host,
int port,
const std::string& cmd);
88 int tell_server(
const std::string& server_host,
int port,
const std::string& cmd);
99 bool wait_for_servers(
int count,
int timeout_ms=2*60*1000);
105 int server_ready(
const std::string& client_host,
int port);
113 int connect_to(
const std::string& server_host,
int port);
120 void disconnect_from(
const std::string& server_host,
int port);
125 void send_command(
const std::string& cmd);
128 void start_app(
const std::string& cmd);
129 void kill_app(
int index);
131 virtual void handle_command(
const std::string& cmd);
133 void send_one_message(
const std::string& host_name,
134 int port,
const std::string& message);
154 void check_for_new_clients();
155 void check_for_datagrams();
156 void check_for_lost_connection();
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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 is our own Panda specialization on the default STL set.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This flavor of ConnectionListener will queue up all of the TCP connections it established for later d...