예제 #1
0
 public ActorRef(SerializationInfo info, StreamingContext context)
 {
     path     = ActorPath.From((string)info.GetValue("path", typeof(string)));
     invoker  = ActorEndpoint.Invoker(path);
     endpoint = invoker.GetProxy(path.ToString());
 }
예제 #2
0
 internal ActorRef(ActorPath path, ActorEndpointInvoker invoker)
     : this(path)
 {
     this.invoker = invoker;
     endpoint     = invoker.GetProxy(path.ToString());
 }
예제 #3
0
 public void GetObjectData(SerializationInfo info, StreamingContext context)
 {
     info.AddValue("path", path.ToString(), typeof(string));
 }