public interface SocketInterceptor
MemberSocketInterceptor
Warning: a SocketInterceptor provides access to the socket and will bypass
any TLS encryption. So be warned that any data send using the SocketInterceptor
could be visible as plain text and could therefor be a security risk.
see SocketInterceptorConfig
Modifier and Type | Method and Description |
---|---|
void |
init(Properties properties)
Initializes socket interceptor with properties which is set by
Config.setProperty(String, String) |
void |
onConnect(Socket connectedSocket)
Called when a connection is established.
|
void init(Properties properties)
Config.setProperty(String, String)
properties
- from hazelcast configvoid onConnect(Socket connectedSocket) throws IOException
connectedSocket
- related socketIOException
- in case of any exceptional caseCopyright © 2021 Hazelcast, Inc.. All rights reserved.