expect interface Selectable
A selectable entity with selectable NIO channel, interestedOps subscriptions.
abstract val channel: SelectableChannel |
|
abstract val interestedOps: Int
current interests |
|
abstract val suspensions: InterestSuspensionsMap
Current selectable suspensions map |
abstract fun interestOp(interest: SelectInterest, state: Boolean): Unit
Apply state flag of interest to interestedOps. Notice that is doesn't actually change selection key. |