![]() |
Hazelcast C++ Client
Hazelcast C++ Client Library
|
An interface that provides the ability to intercept the creation of sockets. More...
#include <socket_interceptor.h>
Public Member Functions | |
template<typename Handler , typename = util::enable_if_rvalue_ref_t<Handler &&>> | |
socket_interceptor & | on_connect (Handler &&h) & |
Set an handler function that will be called with a Socket, each time the client creates a connection to any Member. More... | |
template<typename Handler , typename = util::enable_if_rvalue_ref_t<Handler &&>> | |
socket_interceptor && | on_connect (Handler &&h) && |
Friends | |
class | connection::ClientConnectionManagerImpl |
An interface that provides the ability to intercept the creation of sockets.
Definition at line 43 of file socket_interceptor.h.
|
inline |
Set an handler function that will be called with a Socket, each time the client creates a connection to any Member.
h | a void function object that is callable with a single parameter of type const Socket & |
Definition at line 52 of file socket_interceptor.h.
|
inline |
Definition at line 62 of file socket_interceptor.h.