Reactor

cc.otavia.core.reactor.Reactor
See theReactor companion object
trait Reactor

Reactor is an io event generator for Channel.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class NioReactor

Members list

Value members

Abstract methods

def submit(command: Command): Unit

Concrete methods

final def bind(channel: Channel, local: SocketAddress): Unit
final def close(channel: Channel): Unit
final def connect(channel: Channel, remote: SocketAddress, local: Option[SocketAddress], fast: Boolean): Unit
final def deregister(channel: Channel): Unit

API for cc.otavia.core.actor.ChannelsActor to deregister Channel to Reactor.

API for cc.otavia.core.actor.ChannelsActor to deregister Channel to Reactor.

Value parameters

channel

Channel to cancel listen io event.

Attributes

final def disconnect(channel: Channel): Unit
final def flush(channel: Channel, payload: FileRegion | RecyclablePageBuffer): Unit
final def open(channel: Channel, path: Path, options: Seq[OpenOption], attrs: Seq[FileAttribute[_]]): Unit
final def read(channel: Channel, plan: ReadPlan): Unit
final def register(channel: Channel): Unit

API for cc.otavia.core.actor.ChannelsActor to register Channel to Reactor.

API for cc.otavia.core.actor.ChannelsActor to register Channel to Reactor.

Value parameters

channel

Channel to listen io event.

Attributes

final def shutdown(channel: Channel, direction: ChannelShutdownDirection): Unit