|
Scala Library
|
|
scala/actors/ReplyReactor.scala]
trait
ReplyReactor
extends Reactor with scala.actors.ReplyableReactor
The ReplyReactor trait extends the Reactor
trait with methods to reply to the sender of a message.
Sending a message to a ReplyReactor implicitly
passes a reference to the sender together with the message.
| Method Summary | |
override def
|
!
(msg : Any) : Unit
Sends
msg to this actor (asynchronous). |
override def
|
forward
(msg : Any) : Unit
Forwards
msg to this actor (asynchronous). |
protected[actors] def
|
reply
(msg : Any) : Unit
Replies with
msg to the sender. |
protected[actors] def
|
sender : OutputChannel[Any] |
| Methods inherited from scala.actors.ReplyableReactor | |
| scala.actors.ReplyableReactor.!?, scala.actors.ReplyableReactor.!?, scala.actors.ReplyableReactor.!!, scala.actors.ReplyableReactor.!! |
| Methods inherited from Reactor | |
| act (abstract), exceptionHandler, scheduler, mailboxSize, send, receiver, react, start, exit |
| 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 |
protected[actors]
def
sender : OutputChannel[Any]
msg to the sender.msg to this actor (asynchronous).msg to this actor (asynchronous).|
Scala Library
|
|