Beispiel #1
0
 //Метод отправки пакета
 public void Send(PacketBase packet)
 {
     this.Packets.Enqueue(packet);
     this._lock.Set();
 }
Beispiel #2
0
 /// <summary>
 /// Send the specified packet.
 /// </summary>
 /// <param name='packet'>
 /// Packet.
 /// </param>
 public void Send(PacketBase packet)
 {
     this._outputProccessor.Send(packet);
 }