Hazelcast C++ Client
Hazelcast C++ Client Library
hazelcast::client::endpoint Class Reference

Endpoint represents a peer in the cluster. More...

#include <endpoint.h>

+ Inheritance diagram for hazelcast::client::endpoint:

Public Member Functions

 endpoint (boost::uuids::uuid uuid, boost::optional< address > socket_address)
 
boost::uuids::uuid get_uuid () const
 Returns the UUID of this endpoint. More...
 
const boost::optional< address > & get_socket_address () const
 Returns the socket address for this endpoint. More...
 

Detailed Description

Endpoint represents a peer in the cluster.

It is the client.

Definition at line 34 of file endpoint.h.

Member Function Documentation

◆ get_socket_address()

const boost::optional< address > & hazelcast::client::endpoint::get_socket_address ( ) const

Returns the socket address for this endpoint.

Returns
the socket address for this endpoint

Definition at line 133 of file cluster.cpp.

133  {
134  return socket_address_;
135  }

◆ get_uuid()

boost::uuids::uuid hazelcast::client::endpoint::get_uuid ( ) const

Returns the UUID of this endpoint.

Returns
the UUID of this endpoint

Definition at line 129 of file cluster.cpp.

129  {
130  return uuid_;
131  }

The documentation for this class was generated from the following files: