Interface AEProxyConnection

    • Method Detail

      • getName

        java.lang.String getName()
      • getSourceChannel

        java.nio.channels.SocketChannel getSourceChannel()
        returns the non-blocking channel associated with the initiator of this proxy connection
        Returns:
      • setConnectState

        void setConnectState​(AEProxyState state)
      • requestReadSelect

        void requestReadSelect​(java.nio.channels.SocketChannel channel)
      • cancelReadSelect

        void cancelReadSelect​(java.nio.channels.SocketChannel channel)
      • requestWriteSelect

        void requestWriteSelect​(java.nio.channels.SocketChannel channel)
      • cancelWriteSelect

        void cancelWriteSelect​(java.nio.channels.SocketChannel channel)
      • requestConnectSelect

        void requestConnectSelect​(java.nio.channels.SocketChannel channel)
      • cancelConnectSelect

        void cancelConnectSelect​(java.nio.channels.SocketChannel channel)
      • setConnected

        void setConnected()
        marks the transition between connecting and connected
      • setTimeStamp

        void setTimeStamp()
        marks the last time that something happened on the connection for read timeout purposes
      • failed

        void failed​(java.lang.Throwable cause)
        indicate that the connection has failed
        Parameters:
        cause -
      • close

        void close()
        close the connection
      • isClosed

        boolean isClosed()