|
Scala Library Documentation
|
|
scala/actors/InputChannel.scala]
trait
InputChannel[+Msg]
extends AnyRefInputChannel trait provides a common interface
for all channels from which values can be received.| Method Summary | |
abstract def
|
react (f : PartialFunction[Msg, Unit]) : Nothing |
abstract def
|
reactWithin (msec : Long)(f : PartialFunction[Any, Unit]) : Nothing |
abstract def
|
receive [R](f : PartialFunction[Msg, R]) : R |
abstract def
|
receiveWithin [R](msec : Long)(f : PartialFunction[Any, R]) : R |
| Methods inherited from AnyRef | |
| getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized |
| Methods inherited from Any | |
| ==, !=, isInstanceOf, asInstanceOf |
| Method Details |
abstract
def
receive[R](f : PartialFunction[Msg, R]) : R
abstract
def
receiveWithin[R](msec : Long)(f : PartialFunction[Any, R]) : R
abstract
def
react(f : PartialFunction[Msg, Unit]) : Nothing
abstract
def
reactWithin(msec : Long)(f : PartialFunction[Any, Unit]) : Nothing
|
Scala Library Documentation
|
|