Hazelcast C++ Client
Hazelcast C++ Client Library
Loading...
Searching...
No Matches
hazelcast::client::local_endpoint Class Reference

The Client interface allows to get information about a connected client's socket address, type and UUID. More...

#include <local_endpoint.h>

Inheritance diagram for hazelcast::client::local_endpoint:

Public Member Functions

 local_endpoint (boost::uuids::uuid uuid, boost::optional< address > socket_address, std::string name, std::unordered_set< std::string > labels)
const std::string & get_name () const
Public Member Functions inherited from hazelcast::client::endpoint
 endpoint (boost::uuids::uuid uuid, boost::optional< address > socket_address)
boost::uuids::uuid get_uuid () const
 Returns the UUID of this endpoint.
const boost::optional< address > & get_socket_address () const
 Returns the socket address for this endpoint.

Detailed Description

The Client interface allows to get information about a connected client's socket address, type and UUID.

Definition at line 32 of file local_endpoint.h.

Constructor & Destructor Documentation

◆ local_endpoint()

hazelcast::client::local_endpoint::local_endpoint ( boost::uuids::uuid uuid,
boost::optional< address > socket_address,
std::string name,
std::unordered_set< std::string > labels )

Definition at line 226 of file cluster.cpp.

230 : endpoint(uuid, std::move(socket_address))
231 , name_(std::move(name))
232 , labels_(std::move(labels))
233{}

Member Function Documentation

◆ get_name()

const std::string & hazelcast::client::local_endpoint::get_name ( ) const

Definition at line 236 of file cluster.cpp.

237{
238 return name_;
239}

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