Package jnr.enxio.channels
Class PollSelectionKey
java.lang.Object
java.nio.channels.SelectionKey
java.nio.channels.spi.AbstractSelectionKey
jnr.enxio.channels.PollSelectionKey
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final NativeSelectableChannel
private int
private int
private int
private final PollSelector
Fields inherited from class java.nio.channels.SelectionKey
OP_ACCEPT, OP_CONNECT, OP_READ, OP_WRITE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.nio.channels.spi.AbstractSelectionKey
cancel, isValid
Methods inherited from class java.nio.channels.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:
channel
in classSelectionKey
-
selector
- Specified by:
selector
in classSelectionKey
-
interestOps
public int interestOps()- Specified by:
interestOps
in classSelectionKey
-
interestOps
- Specified by:
interestOps
in classSelectionKey
-
readyOps
public int readyOps()- Specified by:
readyOps
in classSelectionKey
-
readyOps
void readyOps(int readyOps)
-