Package jpcap
Interface PacketReceiver
-
public interface PacketReceiver
This interface is used to define a method to analyze the captured packets, which is used in JpcapCaptor.handlePacket() or JpcapCaptor.processPacket()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
receivePacket(Packet p)
Analyzes a packet.
This method is called everytime a packet is captured.
-
-
-
Method Detail
-
receivePacket
void receivePacket(Packet p)
Analyzes a packet.
This method is called everytime a packet is captured.- Parameters:
p
- A packet to be analyzed
-
-