Scala Library
|
|
scala/actors/OutputChannel.scala
]
trait
OutputChannel[-Msg]
extends
AnyRefOutputChannel
trait provides a common interface
for all channels to which values can be sent.Method Summary | |
abstract def
|
!
(msg : Msg) : Unit
Sends
msg to this
OutputChannel (asynchronous). |
abstract def
|
forward
(msg : Msg) : Unit
Forwards
msg to this
OutputChannel (asynchronous). |
abstract def
|
receiver
: Actor
Returns the
Actor that is
receiving from this OutputChannel . |
abstract def
|
send
(msg : Msg, replyTo : OutputChannel[Any]) : Unit
Sends
msg to this
OutputChannel (asynchronous) supplying
explicit reply destination. |
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 |
msg
to this
OutputChannel
(asynchronous).abstract
def
send(msg : Msg, replyTo : OutputChannel[Any]) : Unit
msg
to this
OutputChannel
(asynchronous) supplying
explicit reply destination.msg -
the message to sendreplyTo -
the reply destinationmsg
to this
OutputChannel
(asynchronous).abstract
def
receiver : Actor
Actor
that is
receiving from this OutputChannel
.
Scala Library
|
|