Represents an address of a client or member in the cluster.
More...
#include <address.h>
|
static constexpr int | ID = 0 |
|
|
struct | serialization::hz_serializer< address > |
|
struct | std::hash< hazelcast::client::address > |
|
Represents an address of a client or member in the cluster.
Definition at line 36 of file address.h.
◆ get_host()
const std::string & hazelcast::client::address::get_host |
( |
| ) |
const |
◆ get_port()
int hazelcast::client::address::get_port |
( |
| ) |
const |
◆ is_ip_v4()
bool hazelcast::client::address::is_ip_v4 |
( |
| ) |
const |
- Returns
- true if the address is ip V4 address, false otherwise.
Definition at line 445 of file client_impl.cpp.
446 return type_ == IPV4;
◆ operator!=()
bool hazelcast::client::address::operator!= |
( |
const address & |
address | ) |
const |
◆ operator==()
bool hazelcast::client::address::operator== |
( |
const address & |
address | ) |
const |
- Parameters
-
Definition at line 413 of file client_impl.cpp.
414 return rhs.port_ == port_ && rhs.type_ == type_ && 0 == rhs.host_.compare(host_);
The documentation for this class was generated from the following files: