Esempio n. 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)));
        }
Esempio n. 2
0
 public bool Equals(ObserverPath other)
 {
     return(path.Equals(other));
 }
Esempio n. 3
0
 internal ObserverRef(ObserverPath path, IObserverEndpoint endpoint)
     : this(path)
 {
     this.endpoint = endpoint;
 }
Esempio n. 4
0
 protected ObserverRef(ObserverPath path)
 {
     this.path = path;
 }
Esempio n. 5
0
 public static ObserverRef Resolve(string path)
 {
     return(ActorSystem.Instance.ObserverOf(ObserverPath.From(path)));
 }