Example #1
0
 /// <summary>
 /// Begins receiving the incoming message by handler as
 /// an asynchronous call. It will not block the caller.
 /// </summary>
 /// <param name="handler">An instance of the incoming message handler.</param>
 public void Receive(NetworkIncomingMessageHandler handler)
 {
     if (listener.IsAvailable(identifier))
     {
         incoming.ReceiveOrCallback(handler);
     }
 }