예제 #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));
        }
예제 #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));
        }