/// <summary>
 /// the method to receive message from server.
 /// </summary>
 /// <exception cref="ObjectDisposedException">
 /// thrown when this object is disposed.
 /// </exception>
 private void UdpServerListenerReceiveLoopImp()
 {
     UdpReceiveLoopVisitor.Visit(
         this, this.server, this.listener, this.thread, this.lspHooked);
 }
 /// <summary>
 /// the method to receive message from server.
 /// </summary>
 private void UdpClientReceiveLoopImp()
 {
     UdpReceiveLoopVisitor.Visit(this, this, this.udpClient, this.thread, this.lspHooked);
 }