|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jnetpcap.PcapStat
public class PcapStat
Class peered with native pcap_stat
structure providing only
the core statistics. Class that is filled in by a call to method
Pcap.stats
. The structure keeps statisical values on an
interface.
Field Summary | |
---|---|
protected long |
capt
number of packets that are received by the application |
protected long |
netdrop
number of packets lost on the network |
protected static java.lang.StringBuilder |
out
For toString() to build its string. |
protected long |
sent
number of packets sent by the server on the network |
Constructor Summary | |
---|---|
PcapStat()
|
Method Summary | |
---|---|
long |
getDrop()
number of packets dropped by the driver |
long |
getIfDrop()
drops by interface. |
long |
getRecv()
Number of packets transmitted on the network |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.StringBuilder out
protected long capt
protected long sent
protected long netdrop
Constructor Detail |
---|
public PcapStat()
Method Detail |
---|
public final long getRecv()
public final long getDrop()
public final long getIfDrop()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |