![]() |
Hazelcast C++ Client
Hazelcast C++ Client Library
|
Represents an address of a client or member in the cluster. More...
#include <address.h>
Public Member Functions | |
address (std::string hostname, int port, unsigned long scope_id) | |
address () | |
Constructor. | |
address (std::string url, int port) | |
bool | operator== (const address &address) const |
bool | operator!= (const address &address) const |
int | get_port () const |
bool | is_ip_v4 () const |
const std::string & | get_host () const |
unsigned long | get_scope_id () const |
bool | operator< (const address &rhs) const |
std::string | to_string () const |
Static Public Attributes | |
static constexpr int | ID = 0 |
Friends | |
struct | serialization::hz_serializer< address > |
struct | std::hash< hazelcast::client::address > |
Represents an address of a client or member in the cluster.
hazelcast::client::address::address | ( | std::string | hostname, |
int | port, | ||
unsigned long | scope_id ) |
Definition at line 549 of file client_impl.cpp.
hazelcast::client::address::address | ( | ) |
Constructor.
Definition at line 536 of file client_impl.cpp.
hazelcast::client::address::address | ( | std::string | url, |
int | port ) |
Definition at line 542 of file client_impl.cpp.
const std::string & hazelcast::client::address::get_host | ( | ) | const |
Definition at line 576 of file client_impl.cpp.
int hazelcast::client::address::get_port | ( | ) | const |
unsigned long hazelcast::client::address::get_scope_id | ( | ) | const |
Definition at line 606 of file client_impl.cpp.
bool hazelcast::client::address::is_ip_v4 | ( | ) | const |
Definition at line 600 of file client_impl.cpp.
bool hazelcast::client::address::operator!= | ( | const address & | address | ) | const |
address | to be compared. |
Definition at line 564 of file client_impl.cpp.
bool hazelcast::client::address::operator< | ( | const address & | rhs | ) | const |
Definition at line 581 of file client_impl.cpp.
bool hazelcast::client::address::operator== | ( | const address & | address | ) | const |
address | to be compared. |
Definition at line 557 of file client_impl.cpp.
std::string hazelcast::client::address::to_string | ( | ) | const |
Definition at line 612 of file client_impl.cpp.
|
friend |
|
friend |