Class NegotiatingClientConnection

    • Constructor Detail

      • NegotiatingClientConnection

        protected NegotiatingClientConnection​(EndPoint endp,
                                              java.util.concurrent.Executor executor,
                                              ClientConnectionFactory connectionFactory,
                                              java.util.Map<java.lang.String,​java.lang.Object> context)
    • Method Detail

      • getSSLEngine

        public getSSLEngine()
      • completed

        protected void completed()
      • onOpen

        public void onOpen()
        Description copied from interface: Connection

        Callback method invoked when this connection is opened.

        Creators of the connection implementation are responsible for calling this method.

        Specified by:
        onOpen in interface Connection
        onOpen in class AbstractConnection
      • close

        public void close()
        Description copied from interface: Connection

        Performs a logical close of this connection.

        For simple connections, this may just mean to delegate the close to the associated EndPoint but, for example, SSL connections should write the SSL close message before closing the associated EndPoint.

        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface
        Specified by:
        close in interface Connection
        close in class AbstractConnection