private void OnGreetFriendFrom(GreetFriendFrom msg) { Context.ActorSelection("/user/Application/io/Out").Tell(new GreetFriendTo(to: Name, from: msg.From)); Sender.Tell(new GreetFriendFrom(Name)); }
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)); }