protected RemoteDeliverySpec(RemoteDeliveryMultiNetSpec config) : base(config)
        {
            _config = config;

            _identify = (role, actorName) => Within(TimeSpan.FromSeconds(10), () =>
                {
                    Sys.ActorSelection(Node(role)/"user"/actorName)
                        .Tell(new Identify(actorName));
                    return ExpectMsg<ActorIdentity>()
                        .Subject;
                });
        }
Beispiel #2
0
        protected RemoteDeliverySpec(RemoteDeliveryMultiNetSpec config) : base(config)
        {
            _config = config;

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