Пример #1
0
        internal void RelayMessage(int sender, NewMessageEventArgs e)
        {
            if (sender == id)
            {
                return;
            }

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