|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jnetpcap.packet.JBinding.DefaultJBinding
public abstract static class JBinding.DefaultJBinding
An abstract adaptor that provides a default implementation for a binding.
| 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 | |
|---|---|
JBinding.DefaultJBinding(int myId,
int targetId,
int... dependencyIds)
Initializes a binding with source ID, target ID and any additional dendency IDs that need to be specified. |
|
| Method Summary | |
|---|---|
int |
getId()
Protocol header ID for this binding. |
int |
getTargetId()
Protocol header ID to which this binding is bound to. |
int[] |
listDependencies()
A list of dependencies that a binding has. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jnetpcap.packet.JBinding |
|---|
getSourceId, isBound |
| Constructor Detail |
|---|
public JBinding.DefaultJBinding(int myId,
int targetId,
int... dependencyIds)
myId - ID of the header that owns this bindingtargetId - ID of the header to which this binding needs to be applied to.
The target ID also becomes an automatic dependency since that is
always the case.dependencyIds - additional IDs of headers that are referenced in the binding
expression| Method Detail |
|---|
public int getId()
public int getTargetId()
getTargetId in interface JBindingpublic int[] listDependencies()
listDependencies in interface JBinding
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||