Пример #1
0
 public bool TryReceiveMessage(out NetworkMessage message) => messagesReceiveQueue.TryDequeue(out message);
Пример #2
0
 internal void EnqueueReceivedMessage(NetworkMessage message) => messagesReceiveQueue.Enqueue(message);
Пример #3
0
 public void SendMessage(NetworkMessage message) => messagesSendQueue.Enqueue(message);