Exemplo n.º 1
0
 public PacketPump(Control control, PacketPumpPacketHandler onPacket)
 {
     m_PacketsQueue = Queue.Synchronized(new Queue());
     m_Control      = control;
     m_OnPacket     = onPacket;
 }
Exemplo n.º 2
0
		public PacketPump( Control control, PacketPumpPacketHandler onPacket )
		{
			m_PacketsQueue = Queue.Synchronized( new Queue() );
			m_Control = control;
			m_OnPacket = onPacket;
		}