Structure containing information about a simulation client's address and port.
More...
#include <ClientInfo.h>
|
std::string | ip_address |
| The IP address of the client.
|
|
int | control_port |
| The control port of the client. Defaults to the default client mission control port.
|
|
int | command_port |
| The command port of the client. Default of 0 causes client to dynamically allocate one.
|
|
|
std::ostream & | operator<< (std::ostream &os, const ClientInfo &ci) |
|
Structure containing information about a simulation client's address and port.
◆ ClientInfo() [1/3]
malmo::ClientInfo::ClientInfo |
( |
const std::string & |
ip_address | ) |
|
Constructs a ClientInfo at the specified address listening on the default port.
- Parameters
-
ip_address | The IP address of the client |
◆ ClientInfo() [2/3]
malmo::ClientInfo::ClientInfo |
( |
const std::string & |
ip_address, |
|
|
int |
control_port |
|
) |
| |
Constructs a ClientInfo at the specified address listening on the specified port.
- Parameters
-
ip_address | The IP address of the client. |
control_port | The number of the client mission control port. |
◆ ClientInfo() [3/3]
malmo::ClientInfo::ClientInfo |
( |
const std::string & |
ip_address, |
|
|
int |
control_port, |
|
|
int |
command_port |
|
) |
| |
Constructs a ClientInfo at the specified address listening on the specified port.
- Parameters
-
ip_address | The IP address of the client. |
control_port | The number of the client mission control port. |
command_port | The number of the client mission command port. |
The documentation for this struct was generated from the following file: