diff options
Diffstat (limited to 'docs/examples/actors')
-rw-r--r-- | docs/examples/actors/counter.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/examples/actors/counter.scala b/docs/examples/actors/counter.scala index 9af8eba243..1224853432 100644 --- a/docs/examples/actors/counter.scala +++ b/docs/examples/actors/counter.scala @@ -37,6 +37,7 @@ class CounterUser extends RemoteActor { val host = java.net.InetAddress.getLocalHost().getHostAddress() spawn(TcpNode(host, 9090), classOf[Counter].getName()) + receive { case p: Pid => // communicate with counter |