org.jnetpcap.packet.structure
Class AnnotatedHeaderLengthMethod
java.lang.Object
org.jnetpcap.packet.structure.AnnotatedMethod
org.jnetpcap.packet.structure.AnnotatedHeaderLengthMethod
public class AnnotatedHeaderLengthMethod
- extends AnnotatedMethod
- Author:
- Mark Bednarczyk, Sly Technologies, Inc.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AnnotatedHeaderLengthMethod
public AnnotatedHeaderLengthMethod(java.lang.Class<? extends JHeader> c,
int length)
- Parameters:
length -
inspectClass
public static AnnotatedHeaderLengthMethod inspectClass(java.lang.Class<? extends JHeader> c)
getHeaderLength
public int getHeaderLength(JBuffer buffer,
int offset)
getMethod
public final java.lang.reflect.Method getMethod()
- Overrides:
getMethod in class AnnotatedMethod
hasStaticLength
public boolean hasStaticLength()
validateSignature
protected void validateSignature(java.lang.reflect.Method method)
- Specified by:
validateSignature in class AnnotatedMethod
clearCache
public static void clearCache()
toString
public java.lang.String toString()
- Overrides:
toString in class AnnotatedMethod