private void Disco(string hostAddress) { Become(new Behavior <Dictionary <string, string> >(t => true, Found)); var rem = new RemoteSenderActor(new ActorTag(hostAddress)); rem.SendMessage(new DiscoCommand(this)); }
private void Disco(string hostAddress, IActor actor) { Become(new Behavior <Dictionary <string, string> >(t => { return(true); }, Found)); var rem = new RemoteSenderActor(new ActorTag(hostAddress)); rem.SendMessage(new DiscoCommand(actor)); }