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