Class KQSelectionKey


  • class KQSelectionKey
    extends java.nio.channels.spi.AbstractSelectionKey
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.nio.channels.SelectableChannel channel()  
      (package private) int getFD()  
      int interestOps()  
      java.nio.channels.SelectionKey interestOps​(int ops)  
      int readyOps()  
      (package private) void readyOps​(int readyOps)  
      java.nio.channels.Selector selector()  
      • Methods inherited from class java.nio.channels.spi.AbstractSelectionKey

        cancel, isValid
      • Methods inherited from class java.nio.channels.SelectionKey

        attach, attachment, interestOpsAnd, interestOpsOr, isAcceptable, isConnectable, isReadable, isWritable
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getFD

        int getFD()
      • channel

        public java.nio.channels.SelectableChannel channel()
        Specified by:
        channel in class java.nio.channels.SelectionKey
      • selector

        public java.nio.channels.Selector selector()
        Specified by:
        selector in class java.nio.channels.SelectionKey
      • interestOps

        public int interestOps()
        Specified by:
        interestOps in class java.nio.channels.SelectionKey
      • interestOps

        public java.nio.channels.SelectionKey interestOps​(int ops)
        Specified by:
        interestOps in class java.nio.channels.SelectionKey
      • readyOps

        public int readyOps()
        Specified by:
        readyOps in class java.nio.channels.SelectionKey
      • readyOps

        void readyOps​(int readyOps)