Example #1
0
        internal void RelayMessage(int sender, NewMessageEventArgs e)
        {
            if (sender == id)
            {
                return;
            }

            SendMessage(e.Message.Value);
        }
Example #2
0
 private void IncommingMessage(NewMessageEventArgs e)
 {
     lock (messageReceivedEventPadlock) {
         MessageReceivedEvent?.Invoke(id, e);
     }
 }