added possibility to register and find remote actors by uuid

This commit is contained in:
Michael Kober 2010-09-20 12:33:30 +02:00
parent e488b796b7
commit 233471041b
4 changed files with 137 additions and 47 deletions

View file

@ -249,7 +249,7 @@ object RemoteActorSerialization {
if (!registeredInRemoteNodeDuringSerialization) {
Actor.log.debug("Register serialized Actor [%s] as remote @ [%s:%s]", actorClass.getName, host, port)
RemoteServer.getOrCreateServer(homeAddress)
RemoteServer.registerActor(homeAddress, uuid, ar)
RemoteServer.registerActorByUuid(homeAddress, uuid, ar)
registeredInRemoteNodeDuringSerialization = true
}