Interface AEProxyConnection

All Known Implementing Classes:
AEProxyConnectionImpl

public interface AEProxyConnection
  • Method Details

    • getName

      String getName()
    • getSourceChannel

      SocketChannel getSourceChannel()
      returns the non-blocking channel associated with the initiator of this proxy connection
      Returns:
    • setReadState

      void setReadState(AEProxyState state)
    • setWriteState

      void setWriteState(AEProxyState state)
    • setConnectState

      void setConnectState(AEProxyState state)
    • requestReadSelect

      void requestReadSelect(SocketChannel channel)
    • cancelReadSelect

      void cancelReadSelect(SocketChannel channel)
    • requestWriteSelect

      void requestWriteSelect(SocketChannel channel)
    • cancelWriteSelect

      void cancelWriteSelect(SocketChannel channel)
    • requestConnectSelect

      void requestConnectSelect(SocketChannel channel)
    • cancelConnectSelect

      void cancelConnectSelect(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(Throwable cause)
      indicate that the connection has failed
      Parameters:
      cause -
    • close

      void close()
      close the connection
    • isClosed

      boolean isClosed()
    • addListener

      void addListener(AEProxyConnectionListener l)
    • removeListener

      void removeListener(AEProxyConnectionListener l)