scala.actors

trait OutputChannel

[source: scala/actors/OutputChannel.scala]

trait OutputChannel[Msg]
extends AnyRef
The OutputChannel trait provides a common interface for all channels to which values can be sent.
Version
0.9.9
Author
Philipp Haller
Direct Known Subclasses:
Actor, Channel

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.
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 !(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.