Beispiel #1
0
        ObserverRef IActorSystem.ObserverOf(ObserverPath path)
        {
            if (path == ObserverPath.Empty)
            {
                throw new ArgumentException("ObserverPath is empty", "path");
            }

            return(new ObserverRef(path, ObserverEndpoint.Proxy(path)));
        }
Beispiel #2
0
 public bool Equals(ObserverPath other)
 {
     return(path.Equals(other));
 }
Beispiel #3
0
 internal ObserverRef(ObserverPath path, IObserverEndpoint endpoint)
     : this(path)
 {
     this.endpoint = endpoint;
 }
Beispiel #4
0
 protected ObserverRef(ObserverPath path)
 {
     this.path = path;
 }
Beispiel #5
0
 public static ObserverRef Resolve(string path)
 {
     return(ActorSystem.Instance.ObserverOf(ObserverPath.From(path)));
 }