Ejemplo n.º 1
0
        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));
        }
Ejemplo n.º 2
0
        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));
        }