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