Beispiel #1
0
        public ActorRef(SerializationInfo info, StreamingContext context)
        {
            var value = (string)info.GetValue("path", typeof(string));

            path     = ActorPath.Deserialize(value);
            endpoint = ActorEndpoint.Proxy(path);
        }
Beispiel #2
0
        public static Ref Deserialize(string path)
        {
            if (ClientRef.Satisfies(path))
            {
                return(ClientRef.Deserialize(path));
            }

            return(ActorRef.Deserialize(ActorPath.Deserialize(path)));
        }
Beispiel #3
0
        public ActorRef(SerializationInfo info, StreamingContext context)
        {
            var value = (string)info.GetValue("path", typeof(string));

            Path = ActorPath.Deserialize(value);
            var @interface = ActorInterface.Registered(Path.Type);

            endpoint = @interface.Proxy(Path);
        }
Beispiel #4
0
 public static ActorRef Deserialize(string path) => Deserialize(ActorPath.Deserialize(path));