示例#1
0
 public UntypedActor Find(string name, bool regional, bool remote)
 {
     if (actors.ContainsKey(name))
     {
         return(actors[name]);
     }
     else if (remote)
     {
         RemoteActorRef remoteActorRef = new RemoteActorRef(name);
         remoteActorRef.SetActorSystem(this);
         return(remoteActorRef);
     }
     else
     {
         return(actors["DeadLetters"]);
     }
 }
示例#2
0
 public UntypedActor Find(string name, bool regional, bool remote)
 {
     if (actors.ContainsKey(name)) {
         return actors[name];
     } else if (remote) {
         RemoteActorRef remoteActorRef = new RemoteActorRef(name);
         remoteActorRef.SetActorSystem(this);
         return remoteActorRef;
     } else {
         return actors["DeadLetters"];
     }
 }