Class KQSelectionKey
java.lang.Object
java.nio.channels.SelectionKey
java.nio.channels.spi.AbstractSelectionKey
jnr.enxio.channels.KQSelectionKey
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final NativeSelectableChannelprivate intprivate intprivate final KQSelectorFields inherited from class SelectionKey
OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE -
Constructor Summary
ConstructorsConstructorDescriptionKQSelectionKey(KQSelector selector, NativeSelectableChannel channel, int ops) -
Method Summary
Methods inherited from class AbstractSelectionKey
cancel, isValidMethods inherited from class SelectionKey
attach, attachment, isAcceptable, isConnectable, isReadable, isWritable
-
Field Details
-
selector
-
channel
-
interestOps
private int interestOps -
readyOps
private int readyOps
-
-
Constructor Details
-
KQSelectionKey
-
-
Method Details
-
getFD
int getFD() -
channel
- Specified by:
channelin classSelectionKey
-
selector
- Specified by:
selectorin classSelectionKey
-
interestOps
public int interestOps()- Specified by:
interestOpsin classSelectionKey
-
interestOps
- Specified by:
interestOpsin classSelectionKey
-
readyOps
public int readyOps()- Specified by:
readyOpsin classSelectionKey
-
readyOps
void readyOps(int readyOps)
-