net.sourceforge.jpcap.capture
Class CaptureStatistics

java.lang.Object
  extended bynet.sourceforge.jpcap.capture.CaptureStatistics

public class CaptureStatistics
extends java.lang.Object

Packet capture statistics.

Encapsulation for statistics collected by PacketCapture.


Constructor Summary
CaptureStatistics(int receivedCount, int droppedCount)
          Create a new and empty statistics container.
 
Method Summary
 int getDroppedCount()
           
 int getReceivedCount()
           
 java.lang.String toString()
          Convert this packet to a readable string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CaptureStatistics

public CaptureStatistics(int receivedCount,
                         int droppedCount)
Create a new and empty statistics container.

Method Detail

getReceivedCount

public int getReceivedCount()

getDroppedCount

public int getDroppedCount()

toString

public java.lang.String toString()
Convert this packet to a readable string.