Class SocketCustomizationListener

    • Constructor Detail

      • SocketCustomizationListener

        public SocketCustomizationListener()
        Construct with SSL unwrapping on.
      • SocketCustomizationListener

        public SocketCustomizationListener​(boolean ssl)
        Parameters:
        ssl - If True, then a Socket underlying an SSLConnection is unwrapped and notified.
    • Method Detail

      • customize

        protected void customize​(java.net.Socket socket,
                                 java.lang.Class<? extends Connection> connection,
                                 boolean ssl)
        This method may be extended to configure a socket on open events.
        Parameters:
        socket - The Socket to configure
        connection - The class of the connection (The socket may be wrapped by an SslConnection prior to this connection).
        ssl - True if the socket is wrapped with an SslConnection