private void OnGreetFriendFrom(GreetFriendFrom msg)
        {
            Context.ActorSelection("/user/Application/io/Out").Tell(new GreetFriendTo(to: Name, from: msg.From));

            Sender.Tell(new GreetFriendFrom(Name));
        }
Exemple #2
0
        private void OnGreetFriendFrom(GreetFriendFrom msg)
        {
            Context.ActorSelection("/user/Application/io/Out").Tell(new GreetFriendTo(Name, msg.From));

            Context.ActorSelection("/user/Application/greetfriend").Tell(new GreetFriendSuccesfully(Name));
        }