Package org.jppf.nio

Interface NioChannelHandler

All Known Subinterfaces:
NioContext
All Known Implementing Classes:
AbstractNioContext, AcceptorContext

public interface NioChannelHandler
Author:
Laurent Cohen
  • Method Details

    • getInterestOps

      int getInterestOps()
      Returns:
      the socket channel's interest ops.
    • setInterestOps

      void setInterestOps(int interestOps)
      Set the socket channel's interest ops.
      Parameters:
      interestOps - the interest ops to set.
    • getSelectionKey

      SelectionKey getSelectionKey()
      Returns:
      the associated selection key.
    • setSelectionKey

      void setSelectionKey(SelectionKey selectionKey)
      Set the associated selection key.
      Parameters:
      selectionKey - the key to set.