public void Process() { while (true) { //Console.WriteLine("Number of elements " + packets.Size()); if (!packets.IsEmpty()) { action.Start(packets.Pop()); } } }
public void Process() { while (true) { //Console.WriteLine("Number of elements " + packets.Size()); if (!packets.IsEmpty()) { capture.CapturePacket(packets.Pop()); } } }