Пример #1
0
 private void OnSentCompleted(MessagePayload messagePayload)
 {
     Env.Print("sent " + messagePayload.ToString());
     SentCompleted?.Invoke(this, messagePayload);
 }
Пример #2
0
 private void OnReceived(MessagePayload messagePayload)
 {
     Env.Print($"read:{messagePayload.ToString()}");
     Received?.Invoke(this, messagePayload);
 }