Class NegotiatingClientConnection

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, Connection

    @Deprecated(since="2021-05-27")
    public abstract class NegotiatingClientConnection
    extends AbstractConnection
    Deprecated.
    • Method Detail

      • getSSLEngine

        public javax.net.ssl.SSLEngine getSSLEngine()
        Deprecated.
      • onOpen

        public void onOpen()
        Deprecated.
        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
        Overrides:
        onOpen in class AbstractConnection
      • close

        public void close()
        Deprecated.
        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 java.io.Closeable
        Specified by:
        close in interface Connection
        Overrides:
        close in class AbstractConnection