All Superinterfaces:
IWriteInterestManager
All Known Implementing Classes:
AsyncContext

public interface Context extends IWriteInterestManager
Since:
6.5
Author:
Asy Ronen
  • Method Details

    • setSelectionKey

      void setSelectionKey(SelectionKey key)
    • getSelectionKey

      SelectionKey getSelectionKey()
    • handleSetReadInterest

      void handleSetReadInterest()
    • handleRead

      void handleRead() throws IOException
      Throws:
      IOException
    • handleWrite

      void handleWrite() throws IOException
      Throws:
      IOException
    • close

      void close()
      Called by the Selector on unregister.
    • close

      void close(Throwable exception)
    • closeAndDisconnect

      void closeAndDisconnect()