Removing registerSupervisorAsRemoteActor from ActorRef + SerializationProtocol

This commit is contained in:
Viktor Klang 2011-04-07 13:50:34 +02:00
parent 87069f6e02
commit 05ba449919
2 changed files with 3 additions and 13 deletions

View file

@ -335,7 +335,8 @@ object RemoteActorSerialization {
secureCookie.foreach(messageBuilder.setCookie(_))
actorRef.foreach { ref =>
/* TODO invent new supervision strategy
actorRef.foreach { ref =>
ref.registerSupervisorAsRemoteActor.foreach { id =>
messageBuilder.setSupervisorUuid(
UuidProtocol.newBuilder
@ -343,7 +344,7 @@ object RemoteActorSerialization {
.setLow(id.getClockSeqAndNode)
.build)
}
}
} */
if( senderOption.isDefined)
messageBuilder.setSender(toRemoteActorRefProtocol(senderOption.get))