class
SelectorContext extends Activable
Instance Constructors
-
new
SelectorContext()
Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
activate(): Unit
-
def
addInputAction[A](channel: InputChannel[A], action: (A) ⇒ Boolean): Unit
-
def
addOutputAction[A](channel: OutputChannel[A], action: () ⇒ Option[A]): Unit
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
go(implicit ex: ExecutionContext): Future[Unit]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
run: Unit
-
def
runOnce(): Unit
-
def
setIddleAction(action: (Unit) ⇒ Unit): Unit
-
def
shutdown(): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any
context, which await of doing one of blocked operations. We can look on one as on implementation of go select statement: we can add to context pairs of inputs and outputs, and then when some of inputs and outputs are non-blockde, than action is performed. I.e. next block of 'go' select:
is mapped do (and with help of macroses, can be write as