Class ConnectHandler.UpstreamConnection

    • Method Detail

      • 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
        Overrides:
        onOpen in class AbstractConnection
      • read

        protected int read​(EndPoint endPoint,
                           java.nio.ByteBuffer buffer)
                    throws java.io.IOException
        Specified by:
        read in class ProxyConnection
        Throws:
        java.io.IOException