Cakewalk.NetEntity.SendPacket C# (CSharp) Метод

SendPacket() публичный Метод

Enqueue a packet for sending over the wire
public SendPacket ( IPacketBase packet ) : void
packet IPacketBase
Результат void
        public void SendPacket(IPacketBase packet)
        {
            m_outgoingQueue.Enqueue(packet);

            //If we're not already sending, queue up a send on the task pool
            if (Interlocked.Read(ref sending) == 0)
            {
                QueueSend();
            }
        }