public Selectable
A selectable entity with selectable NIO Selectable.getChannel, Selectable.getInterestedOps subscriptions
Selectable.getChannel,
Selectable.getInterestedOps| Modifier and Type | Method and Description |
|---|---|
java.nio.channels.SelectableChannel |
getChannel()
associated channel
|
int |
getInterestedOps()
current interests
|
InterestSuspensionsMap |
getSuspensions()
Current selectable suspensions map
|
void |
interestOp(SelectInterest interest,
boolean state)
Apply state flag of interest to
Selectable.getInterestedOps. Notice that is doesn't actually change selection key. |
InterestSuspensionsMap getSuspensions()
Current selectable suspensions map
java.nio.channels.SelectableChannel getChannel()
associated channel
int getInterestedOps()
current interests
void interestOp(SelectInterest interest, boolean state)
Apply state flag of interest to Selectable.getInterestedOps. Notice that is doesn't actually change selection key.
Selectable.getInterestedOps