com.hazelcast.nio

## 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

    All Methods Instance Methods Abstract Methods
    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.

    - ### Methods inherited from interface com.hazelcast.nio.SocketInterceptor

      `init, onConnect`

- - ### Method Detail

    - #### 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`

Copyright © 2019. All rights reserved.