Class PollSelectionKey
java.lang.Object
java.nio.channels.SelectionKey
java.nio.channels.spi.AbstractSelectionKey
jnr.enxio.channels.PollSelectionKey
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final NativeSelectableChannelprivate intprivate intprivate intprivate final PollSelectorFields inherited from class SelectionKey
OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE -
Constructor Summary
Constructors -
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 -
index
private int index
-
-
Constructor Details
-
PollSelectionKey
-
-
Method Details
-
setIndex
void setIndex(int index) -
getIndex
int getIndex() -
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)
-