SourceForge Jpcap

Uses of Class
net.sourceforge.jpcap.capture.CaptureDevice

Packages that use CaptureDevice
net.sourceforge.jpcap.capture Provides an interface for capturing packets and a layer of abstraction around libpcap, a portable native system library for capturing network packets. 
 

Uses of CaptureDevice in net.sourceforge.jpcap.capture
 

Methods in net.sourceforge.jpcap.capture that return CaptureDevice
static CaptureDevice PacketCapture.findCaptureDevice()
          Find a suitable CaptureDevice for live capture.
static CaptureDevice JWinPcap.findCaptureDevice()
          Returns the first non-loopback device found by JWinPcap.lookupCaptureDevices().
 CaptureDevice PacketCapture.getDevice()
          Return the current capture device.
static CaptureDevice[] PacketCapture.lookupCaptureDevices()
          Get the interface list as an array of CaptureDevice[].
static CaptureDevice[] JWinPcap.lookupCaptureDevices()
          Lookup capture devices.
static CaptureDevice[] JWinPcap.lookupCaptureDevices(URI uri)
          Lookup capture devices.
 

Methods in net.sourceforge.jpcap.capture with parameters of type CaptureDevice
 void PacketCapture.open(CaptureDevice device, boolean promiscuous)
          Open a network device for data capture.
 void PacketCapture.open(CaptureDevice device, int snaplen, boolean promiscuous, int timeout)
          Open a network device for data capture.
 

Constructors in net.sourceforge.jpcap.capture with parameters of type CaptureDevice
JWinPcap(CaptureDevice device, EnumSet<JWinPcap.OpenFlags> flags, PasswordAuthentication auth)
          Creates a new instance of JWinPcap with default values for snaplen and timeout.
JWinPcap(CaptureDevice device, int snaplen, EnumSet<JWinPcap.OpenFlags> flags, int timeout, PasswordAuthentication auth)
          Creates a new instance of JWinPcap
PacketCapture(CaptureDevice device, boolean promiscuous)
          Construct a new instance and open the specified device for capture.
PacketCapture(CaptureDevice device, int snaplen, boolean promiscuous, int timeout)
          Construct a new instance and open the specified device for capture.
 


Copyright © Patrick Charles & Jonas Lehmann, 2001; Esmond Pitt, 2008.