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 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.
    • 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