Selectable

expect interface Selectable

A selectable entity with selectable NIO channel, interestedOps subscriptions.

actual interface Selectable : Closeable, DisposableHandle
actual interface Selectable

Functions

Link copied to clipboard
abstract override fun close()
Link copied to clipboard
abstract fun dispose()
Link copied to clipboard
abstract fun interestOp(interest: SelectInterest, state: Boolean)

Apply state flag of interest to interestedOps. Notice that is doesn't actually change selection key.

Properties

Link copied to clipboard
abstract val channel: SelectableChannel
Link copied to clipboard
abstract val descriptor: Int
Link copied to clipboard
abstract val interestedOps: Int

current interests

Link copied to clipboard
abstract val suspensions: InterestSuspensionsMap

Current selectable suspensions map