|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.gremwell.jnetbridge.IngressPacket
public class IngressPacket
This class encapsulates an ingress packet. Instances of these objects
are created by subclasses of Port
and have to be scanned with
JNetPcap's scan() before passing to ingress() method. It means that
PortListener
s (or their client) are free to use hasHeader()
to directly access headers of Ethernet or higher level protocols.
Each packet has a unique sequentially assigned id.
Field Summary | |
---|---|
int |
id
|
org.jnetpcap.packet.JPacket |
packet
|
Port |
port
|
Constructor Summary | |
---|---|
protected |
IngressPacket(Port port,
org.jnetpcap.packet.JPacket packet)
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final int id
public final Port port
public final org.jnetpcap.packet.JPacket packet
Constructor Detail |
---|
protected IngressPacket(Port port, org.jnetpcap.packet.JPacket packet)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |