|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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()
JpcapCaptor.processPacket(int,PacketReceiver)
,
JpcapCaptor.loopPacket(int,PacketReceiver)
Method Summary | |
---|---|
void |
receivePacket(Packet p)
Analyzes a packet. This method is called everytime a packet is captured. |
Method Detail |
---|
void receivePacket(Packet p)
p
- A packet to be analyzed
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |