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

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

            return(ActorRef.Deserialize(ActorPath.Deserialize(path)));
        }
Exemplo n.º 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);
        }
Exemplo n.º 4
0
 public static ActorRef Deserialize(string path) => Deserialize(ActorPath.Deserialize(path));