ActorID: now all test pass, mission accomplished, ready for master

This commit is contained in:
Jonas Bonér 2010-05-03 21:00:54 +02:00
parent 7b1e43c89e
commit 4f66e90aa0
10 changed files with 42 additions and 35 deletions

View file

@ -200,8 +200,8 @@ class RemoteServer extends Logging {
*/
def register(actor: ActorID) = synchronized {
if (_isRunning) {
log.info("Registering server side remote actor [%s] with id [%s]", actor.getClass.getName, actor.getId)
RemoteServer.actorsFor(RemoteServer.Address(hostname, port)).actors.put(actor.getId, actor)
log.info("Registering server side remote actor [%s] with id [%s]", actor.getClass.getName, actor.id)
RemoteServer.actorsFor(RemoteServer.Address(hostname, port)).actors.put(actor.id, actor)
}
}