Ejemplo n.º 1
0
 public static void ActOnMessage(Message message)
 {
     if (message.Type == MsgType.Ack)
     {
         Log.Info(_tag, $"Received client ack of {message.Content}");
     }
     else
     {
         OnReceiveMessage.Raise(message);
         var doThis = ParseMessageToAction(message);
         doThis?.Invoke(BaseActivity.CurrentActivity); // Note - nothing (currently) actually *uses* the argument of doThis; passing it the current activity is basically a placeholder here.
     }
 }