Interface ConnectionHandlerFactory


  • public interface ConnectionHandlerFactory
    A factory which creates the connection handler for a connection. Instances of this interface are used only one time to create the single handler instance to correspond to the given local handler.
    • Method Detail

      • createInstance

        ConnectionHandler createInstance​(ConnectionHandlerContext connectionContext)
        Create a connection handler instance. The provided connection context is used to open local services.
        Parameters:
        connectionContext - the local connection handler for incoming requests
        Returns:
        the connection handler for outgoing requests