class ActorSelectorManager : SelectorManagerSupport, Closeable, CoroutineScope
Default CIO selector manager implementation |
|
class ClosedChannelCancellationException |
|
class InterestSuspensionsMap |
|
enum expect class SelectInterest
Select interest kind |
|
expect interface Selectable
A selectable entity with selectable NIO channel, interestedOps subscriptions. |
|
expect interface SelectorManager : CoroutineScope
SelectorManager interface allows Selectable wait for SelectInterest. |
|
abstract class SelectorManagerSupport : SelectorManager
Base class for NIO selector managers |
expect fun SelectorManager(dispatcher: <ERROR CLASS> = EmptyCoroutineContext): SelectorManager
Creates the selector manager for current platform. |
|
fun <C, R> SelectorManager.buildOrClose(create: SelectorProvider.() -> C, setup: C.() -> R): R
Creates a NIO entity via create and calls setup on it. If any exception happens then the entity will be closed and an exception will be propagated. |