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; }); }
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); }); }