fixed bug with init of tx datastructs + changed actor id management

This commit is contained in:
Jonas Bonér 2010-02-26 17:42:44 +01:00
parent 924661368b
commit b4a46016eb
11 changed files with 33 additions and 20 deletions

View file

@ -196,8 +196,8 @@ class RemoteServer extends Logging {
* Register Remote Actor by the Actor's 'id' field.
*/
def register(actor: Actor) = if (isRunning) {
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)
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)
}
/**