Interface ClientConnectionFactory

    • Field Detail

      • CONNECTOR_CONTEXT_KEY

        static final java.lang.String CONNECTOR_CONTEXT_KEY
        See Also:
        Constant Field Values
    • Method Detail

      • newConnection

        Connection newConnection​(EndPoint endPoint,
                                 java.util.Map<java.lang.String,​java.lang.Object> context)
                          throws java.io.IOException
        Parameters:
        endPoint - the EndPoint to link the newly created connection to
        context - the context data to create the connection
        Returns:
        a new Connection
        Throws:
        java.io.IOException - if the connection cannot be created
      • customize

        default Connection customize​(Connection connection,
                                     java.util.Map<java.lang.String,​java.lang.Object> context)