private void HandleForwardMessage(ForwardMessage msg)
 {
     //Console.WriteLine($"Message:{msg} \nreceived by {Context.Self.Path}\n");
     Console.WriteLine($"Prefix:{_prefix} - Message:{msg.Value} " +
                       $"\nreceived by {Context.Self.Path}" +
                       $"\nsender {Sender.Path}\n");
     Sender.Tell("Ok");
 }
Example #2
0
 private void HandleForwardMessage(ForwardMessage msg)
 {
     Console.WriteLine($"Message:{msg.Value} " +
                       $"\nreceived by {Context.Self.Path}" +
                       $"\nsender {Sender.Path}" +
                       $"\nforwarded to {FirstTestUntyped.Path}" +
                       $"\n");
     FirstTestUntyped.Forward(msg);
 }