org.jnetpcap.winpcap
Class WinPcapStat

java.lang.Object
  extended by org.jnetpcap.PcapStat
      extended by org.jnetpcap.winpcap.WinPcapStat

public class WinPcapStat
extends PcapStat

Class peered with native pcap_stat structure providing all available extensions part of WinPcap extensions. Provides access to additional statical fields as returned from a call to WinPcap.statsEx().

Author:
Mark Bednarczyk, Sly Technologies, Inc.
See Also:
WinPcap.statsEx()

Field Summary
 
Fields inherited from class org.jnetpcap.PcapStat
capt, netdrop, out, sent
 
Method Summary
 long getCapt()
          number of packets that are received by the application.
 long getNetdrop()
          number of packets lost on the network.
 long getSent()
          number of packets sent by the server on the network.
 java.lang.String toString()
          Dumps all the values as a string.
 
Methods inherited from class org.jnetpcap.PcapStat
getDrop, getIfDrop, getRecv
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getCapt

public long getCapt()
number of packets that are received by the application.

Returns:
the capt

getNetdrop

public long getNetdrop()
number of packets lost on the network.

Returns:
the netdrop

getSent

public long getSent()
number of packets sent by the server on the network.

Returns:
the sent

toString

public java.lang.String toString()
Dumps all the values as a string.

Overrides:
toString in class PcapStat
Returns:
the string