Scala Library
|
|
scala/actors/Reactor.scala
]
trait
Reactor
extends
OutputChannel[Any] with
AnyRefMethod Summary | |
def
|
!
(msg : Any) : Unit
Sends
msg to this
OutputChannel (asynchronous). |
abstract def
|
act
: Unit
The behavior of an actor is specified by implementing this
abstract method.
|
protected[actors] def
|
exceptionHandler : PartialFunction[java.lang.Exception, Unit] |
protected[this] def
|
exit : Nothing |
def
|
forward
(msg : Any) : Unit
Forwards
msg to this
OutputChannel (asynchronous). |
protected[actors] def
|
mailboxSize : Int |
protected[actors] def
|
react (f : PartialFunction[Any, Unit]) : Nothing |
def
|
receiver
: Actor
Returns the
Reactor that is
receiving from this OutputChannel . |
protected[actors] def
|
scheduler : IScheduler |
def
|
send
(msg : Any, replyTo : OutputChannel[Any]) : Unit
Sends
msg to this actor (asynchronous) supplying
explicit reply destination. |
def
|
start : Reactor |
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
act : Unit
protected[actors]
def
exceptionHandler : PartialFunction[java.lang.Exception, Unit]
protected[actors]
def
scheduler : IScheduler
protected[actors]
def
mailboxSize : Int
def
send(msg : Any, replyTo : OutputChannel[Any]) : Unit
msg
to this actor (asynchronous) supplying
explicit reply destination.msg -
the message to sendreplyTo -
the reply destinationmsg
to this
OutputChannel
(asynchronous).msg
to this
OutputChannel
(asynchronous).
def
receiver : Actor
Reactor
that is
receiving from this OutputChannel
.protected[actors]
def
react(f : PartialFunction[Any, Unit]) : Nothing
def
start : Reactor
protected[this]
def
exit : Nothing
Scala Library
|
|