|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jnetpcap.packet.AbstractBinding<H>
H - the generic typepublic abstract class AbstractBinding<H extends JHeader>
The Class AbstractBinding.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jnetpcap.packet.JBinding |
|---|
JBinding.DefaultJBinding |
| Field Summary |
|---|
| Fields inherited from interface org.jnetpcap.packet.JBinding |
|---|
NULL_ID |
| Constructor Summary | |
|---|---|
AbstractBinding(java.lang.Class<? extends JHeader> sourceClass,
java.lang.Class<H> targetClass)
Instantiates a new abstract binding. |
|
| Method Summary | |
|---|---|
int |
getSourceId()
Gets the source id. |
int |
getTargetId()
Gets the target id. |
abstract boolean |
isBound(JPacket packet,
H header)
Checks if is bound. |
boolean |
isBound(JPacket packet,
int offset)
Checks if is bound. |
int[] |
listDependencies()
List dependencies. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractBinding(java.lang.Class<? extends JHeader> sourceClass,
java.lang.Class<H> targetClass)
sourceClass - the source classtargetClass - the target class| Method Detail |
|---|
public int getSourceId()
getSourceId in interface JBindingJBinding.getSourceId()public int getTargetId()
getTargetId in interface JBindingJBinding.getTargetId()
public boolean isBound(JPacket packet,
int offset)
isBound in interface JBindingpacket - the packetoffset - the offset
JBinding.isBound(org.jnetpcap.packet.JPacket, int)
public abstract boolean isBound(JPacket packet,
H header)
packet - the packetheader - the header
public int[] listDependencies()
listDependencies in interface JBindingJBinding.listDependencies()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||