|
SourceForge Jpcap | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jpcap.capture.CaptureStatistics
public class CaptureStatistics
Packet capture statistics.
Encapsulation for statistics collected by PacketCapture.
| Constructor Summary | |
|---|---|
CaptureStatistics()
Create a new instance of CaptureStatistics. |
|
CaptureStatistics(int receivedCount,
int droppedCount)
Create a new and empty statistics container. |
|
| Method Summary | |
|---|---|
int |
getDroppedByInterfaceCount()
Return the number of packets dropped by interface XXX not yet supported |
int |
getDroppedByNetworkCount()
Return the number of packets dropped by the network. |
int |
getDroppedCount()
Return the number of packets dropped |
int |
getReceivedByApplicationCount()
Return the number of packets received by the application. |
int |
getReceivedCount()
Return the number of packets received |
int |
getSentByServerCount()
Return the number of packets sent by the server. |
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 |
|---|
public CaptureStatistics()
public CaptureStatistics(int receivedCount,
int droppedCount)
receivedCount - Count of packets receiveddroppedCount - Count of packets dropped| Method Detail |
|---|
public int getReceivedCount()
public int getDroppedCount()
public int getDroppedByInterfaceCount()
public int getReceivedByApplicationCount()
public int getSentByServerCount()
public int getDroppedByNetworkCount()
public String toString()
toString in class Object
|
Copyright © Patrick Charles & Jonas Lehmann, 2001; Esmond Pitt, 2008. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||