net.sourceforge.jpcap.capture
Class CaptureStatistics
java.lang.Object
net.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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CaptureStatistics
public CaptureStatistics(int receivedCount,
int droppedCount)
- Create a new and empty statistics container.
getReceivedCount
public int getReceivedCount()
getDroppedCount
public int getDroppedCount()
toString
public java.lang.String toString()
- Convert this packet to a readable string.