Package com.hazelcast.nio
Interface MemberSocketInterceptor
-
- All Superinterfaces:
SocketInterceptor
public interface MemberSocketInterceptor extends SocketInterceptor
Member Socket Interceptor can be registered via seeSocketInterceptorConfig
Warning: a MemberSocketInterceptor 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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onAccept(java.net.Socket acceptedSocket)
This method will be called when a connection to a member node is accepted meaning security requirements and clusters are matching.-
Methods inherited from interface com.hazelcast.nio.SocketInterceptor
init, onConnect
-
-
-
-
Method Detail
-
onAccept
void onAccept(java.net.Socket acceptedSocket) throws java.io.IOException
This method will be called when a connection to a member node is accepted meaning security requirements and clusters are matching.- Parameters:
acceptedSocket
- accepted socket- Throws:
java.io.IOException
- in case of any exceptional case
-
-