20 #ifndef _CLIENTINFO_H_
21 #define _CLIENTINFO_H_
29 default_client_mission_control_port = 10000
62 friend std::ostream& operator<<(std::ostream& os,
const ClientInfo& ci);
Structure containing information about a simulation client's address and port.
Definition: ClientInfo.h:34
ClientInfo(const std::string &ip_address, int control_port, int command_port)
Constructs a ClientInfo at the specified address listening on the specified port.
int command_port
The command port of the client. Default of 0 causes client to dynamically allocate one.
Definition: ClientInfo.h:60
ClientInfo()
Constructs an empty ClientInfo struct.
ClientInfo(const std::string &ip_address, int control_port)
Constructs a ClientInfo at the specified address listening on the specified port.
ClientInfo(const std::string &ip_address)
Constructs a ClientInfo at the specified address listening on the default port.
int control_port
The control port of the client. Defaults to the default client mission control port.
Definition: ClientInfo.h:57
std::string ip_address
The IP address of the client.
Definition: ClientInfo.h:54