net.sourceforge.jpcap.capture
Interface PacketDispatchCapable

All Known Implementing Classes:
PacketDispatcher

public interface PacketDispatchCapable

An interface for classes capable of dispatching captured network packets.


Method Summary
 void addPacketListener(PacketListener objListener)
          Register a packet object listener with this capture system.
 void addRawPacketListener(RawPacketListener rawListener)
          Register a raw packet listener with this capture system.
 void removePacketListener(PacketListener objListener)
          Deregister a packet object listener from this capture system.
 void removeRawPacketListener(RawPacketListener rawListener)
          Deregister a raw packet listener from this capture system.
 

Method Detail

addRawPacketListener

public void addRawPacketListener(RawPacketListener rawListener)
Register a raw packet listener with this capture system.

Parameters:
rawListener - the raw packet listener to add to the notification list.

removeRawPacketListener

public void removeRawPacketListener(RawPacketListener rawListener)
Deregister a raw packet listener from this capture system.

Parameters:
rawListener - the raw packet listener to remove from the notification list.

addPacketListener

public void addPacketListener(PacketListener objListener)
Register a packet object listener with this capture system.

Parameters:
objListener - the packet listener to add to the notification list.

removePacketListener

public void removePacketListener(PacketListener objListener)
Deregister a packet object listener from this capture system.

Parameters:
objListener - the packet listener to remove from the notification list.