/// <summary>
 ///     Adds a message received on the server.
 /// </summary>
 /// <param name="message">The message recieved.</param>
 public void AddMessageOnServer(ReceivedMessage message)
 {
     messagesToServer.Enqueue(message);
 }
 /// <summary>
 ///     Adds a message expected to be received on the server.
 /// </summary>
 /// <param name="message">The message expected to be recieved.</param>
 public void ExpectMessageOnServer(ReceivedMessage message)
 {
     expectedToServer.Add(message);
 }
 /// <summary>
 ///     Adds a message received on the client.
 /// </summary>
 /// <param name="message">The message recieved.</param>
 public void AddMessageOnClient(ReceivedMessage message)
 {
     messagesToClients.Enqueue(message);
 }
 /// <summary>
 ///     Adds a message expected to be received on the client.
 /// </summary>
 /// <param name="message">The message expected to be recieved.</param>
 public void ExpectMessageOnClient(ReceivedMessage message)
 {
     expectedToClients.Add(message);
 }