Ejemplo n.º 1
0
        protected RemoteGatePiercingSpec(RemoteGatePiercingMultiNetSpec config) : base(config)
        {
            _config = config;

            _identify = (role, actorName) =>
            {
                Sys.ActorSelection(Node(role)/"user"/actorName).Tell(new Identify(actorName));
                return ExpectMsg<ActorIdentity>(TimeSpan.FromSeconds(10)).Subject;
            };
        }
Ejemplo n.º 2
0
        protected RemoteGatePiercingSpec(RemoteGatePiercingMultiNetSpec config) : base(config)
        {
            _config = config;

            _identify = (role, actorName) =>
            {
                Sys.ActorSelection(Node(role) / "user" / actorName).Tell(new Identify(actorName));
                return(ExpectMsg <ActorIdentity>(TimeSpan.FromSeconds(10)).Subject);
            };
        }