public interface MemberSocketInterceptor extends SocketInterceptor
SocketInterceptorConfig
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.Modifier and Type | Method and Description |
---|---|
void |
onAccept(Socket acceptedSocket)
This method will be called when a connection to a member node is accepted
meaning security requirements and clusters are matching.
|
init, onConnect
void onAccept(Socket acceptedSocket) throws IOException
acceptedSocket
- accepted socketIOException
Copyright © 2018 Hazelcast, Inc.. All rights reserved.