diff options
author | michelou <michelou@epfl.ch> | 2007-10-05 14:19:12 +0000 |
---|---|---|
committer | michelou <michelou@epfl.ch> | 2007-10-05 14:19:12 +0000 |
commit | 6761dc14b707667b453455aa6cecb0c82babeed3 (patch) | |
tree | 9112bb768d3ed534c8e6eb7bea6d44405df18a5c | |
parent | b8b85aa1c58d90629e2c58c7017e191be3efd690 (diff) | |
download | scala-6761dc14b707667b453455aa6cecb0c82babeed3.tar.gz scala-6761dc14b707667b453455aa6cecb0c82babeed3.tar.bz2 scala-6761dc14b707667b453455aa6cecb0c82babeed3.zip |
updated Scala comments
-rw-r--r-- | src/actors/scala/actors/remote/RemoteActor.scala | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/actors/scala/actors/remote/RemoteActor.scala b/src/actors/scala/actors/remote/RemoteActor.scala index 7bc3fc5a48..7312cea4ba 100644 --- a/src/actors/scala/actors/remote/RemoteActor.scala +++ b/src/actors/scala/actors/remote/RemoteActor.scala @@ -32,7 +32,7 @@ package scala.actors.remote * </p><pre> * actor { * // ... - * <b>val</b> c = select(TcpNode("127.0.0.1", 9010), 'myName) + * <b>val</b> c = select(Node("127.0.0.1", 9010), 'myName) * c ! msg * // ... * } @@ -49,7 +49,7 @@ object RemoteActor { * Makes <code>self</code> remotely accessible on TCP port * <code>port</code>. */ - def alive(port: int): Unit = synchronized { + def alive(port: Int): Unit = synchronized { val serv = TcpService(port) kernels += Actor.self -> serv.kernel } @@ -95,6 +95,9 @@ object RemoteActor { /** * This class represents a machine node on a TCP network. * + * @param address the host name, or <code>null</code> for the loopback address. + * @param port the port number. + * * @author Philipp Haller */ case class Node(address: String, port: Int) |