Selectable

expect interface Selectable(source)

A selectable entity with selectable NIO channel, interestedOps subscriptions.

Report a problem

actual interface Selectable(source)
actual interface Selectable : Closeable, DisposableHandle(source)
actual interface Selectable(source)

Properties

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

current interests

Link copied to clipboard
abstract val isClosed: Boolean

Indicated if the selectable is closed.

Link copied to clipboard

Current selectable suspensions map

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.