Interface MemberSocketInterceptor

All Superinterfaces:
SocketInterceptor

public interface MemberSocketInterceptor extends SocketInterceptor
Member Socket Interceptor can be registered via see 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.

  • Method Summary

    Modifier and Type
    Method
    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.

    Methods inherited from interface com.hazelcast.nio.SocketInterceptor

    init, onConnect
  • Method Details

    • onAccept

      void onAccept(Socket acceptedSocket) throws 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:
      IOException - in case of any exceptional case