in scala.actors.remote
object RemoteActor

`object` RemoteActor
  `extends` java.lang.Object
  `with` scala.ScalaObject

  This object provides methods for creating, registering, and selecting remotely accessible actors. A remote actor is typically created like this:

       actor {
         alive(9010)
         register('myName, self)
         // behavior
       }

  It can be accessed by an actor running on a (possibly) different node by selecting it in the following way:

       actor {
         // ...
         val c = select(TcpNode("127.0.0.1", 9010), 'myName)
         c ! msg
         // ...
       }

Author:
  Philipp Haller

Constructor Summary
| `def` this

Def Summary
| `def` alive (port: scala.Int) : scala.Unit Makes `self` remotely accessible on TCP port `port`.
| `def` register (name: scala.Symbol, a: scala.actors.Actor) : scala.Unit Registers `a` under `name` on this node.
| `def` select (node: scala.actors.remote.Node, sym: scala.Symbol) : scala.actors.Actor Returns (a proxy for) the actor registered under `name` on `node`.

Constructor Detail

`def` this

Def Detail

`def` alive (port: scala.Int): scala.Unit

  Makes `self` remotely accessible on TCP port `port`.

`def` register (name: scala.Symbol, a: scala.actors.Actor): scala.Unit

  Registers `a` under `name` on this node.

`def` select (node: scala.actors.remote.Node, sym: scala.Symbol): scala.actors.Actor

  Returns (a proxy for) the actor registered under `name` on `node`.