Esempio n. 1
0
 private void OnSentCompleted(MessagePayload messagePayload)
 {
     Env.Print("sent " + messagePayload.ToString());
     SentCompleted?.Invoke(this, messagePayload);
 }
Esempio n. 2
0
 private void OnReceived(MessagePayload messagePayload)
 {
     Env.Print($"read:{messagePayload.ToString()}");
     Received?.Invoke(this, messagePayload);
 }