Hazelcast C++ Client
Hazelcast C++ Client Library
hazelcast::client::socket Class Referenceabstract

Public Member Functions

virtual void connect (const std::shared_ptr< connection::Connection > connection)=0
 
virtual void async_write (const std::shared_ptr< connection::Connection > connection, const std::shared_ptr< spi::impl::ClientInvocation > invocation)=0
 
virtual void close ()=0
 
virtual address get_address () const =0
 
virtual boost::optional< addresslocal_socket_address () const =0
 This function is used to obtain the locally bound endpoint of the socket. More...
 
virtual const addressget_remote_endpoint () const =0
 
virtual boost::asio::io_context::strand & get_executor () noexcept=0
 

Detailed Description

Definition at line 40 of file socket.h.

Member Function Documentation

◆ local_socket_address()

virtual boost::optional<address> hazelcast::client::socket::local_socket_address ( ) const
pure virtual

This function is used to obtain the locally bound endpoint of the socket.

Returns
An address that represents the local endpoint of the socket.

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