Stores connection information associated with a node.
More...
#include <gcs_xcom_group_member_information.h>
Stores connection information associated with a node.
◆ Gcs_xcom_node_address()
Gcs_xcom_node_address::Gcs_xcom_node_address |
( |
std::string |
member_address | ) |
|
|
explicit |
Gcs_xcom_node_address constructor.
◆ ~Gcs_xcom_node_address()
Gcs_xcom_node_address::~Gcs_xcom_node_address |
( |
| ) |
|
|
virtualdefault |
◆ get_member_address()
std::string & Gcs_xcom_node_address::get_member_address |
( |
| ) |
|
Return address using the format ip:port.
◆ get_member_ip()
std::string & Gcs_xcom_node_address::get_member_ip |
( |
| ) |
|
◆ get_member_port()
xcom_port Gcs_xcom_node_address::get_member_port |
( |
| ) |
|
◆ get_member_representation()
std::string * Gcs_xcom_node_address::get_member_representation |
( |
| ) |
const |
Return an internal representation.
◆ is_valid()
bool Gcs_xcom_node_address::is_valid |
( |
void |
| ) |
const |
A Gcs_xcom_node_address holds the representation IP:PORT of an XCom node.
It is initialized with default values for IP = null and PORT = 0.
This method checks if this address contains valid values after a successful initialization or if it still contains the default ones.
- Returns
- true if this contains values other than the default values
◆ m_member_address
std::string Gcs_xcom_node_address::m_member_address |
|
private |
◆ m_member_ip
std::string Gcs_xcom_node_address::m_member_ip |
|
private |
◆ m_member_port
xcom_port Gcs_xcom_node_address::m_member_port |
|
private |
The documentation for this class was generated from the following files: