org.jnetstream.packet
Interface Field<T>
- All Superinterfaces:
- HeaderElement, java.lang.Iterable<Field<?>>, com.slytechs.utils.namespace.Named
- All Known Subinterfaces:
- Field.DynamicField<T>, Field.StaticField, FiniteField<T>
- All Known Implementing Classes:
- NullField
public interface Field<T>
- extends HeaderElement, java.lang.Iterable<Field<?>>
A field within a packet after its been decoded. A field is an element of
a header structures.
- Author:
- Mark Bednarczyk, Sly Technologies, Inc.
| Nested classes/interfaces inherited from interface com.slytechs.utils.namespace.Named |
com.slytechs.utils.namespace.Named.Util |
| Methods inherited from interface com.slytechs.utils.namespace.Named |
getName |
| Methods inherited from interface java.lang.Iterable |
iterator |
isSigned
boolean isSigned()
getOffset
int getOffset()
getLength
int getLength()
getValue
T getValue()
throws java.io.IOException
- Returns:
-
- Throws:
java.io.IOException
getValueDescription
java.lang.String getValueDescription()
- Returns:
format
java.lang.Object format()
- Returns:
getValueUnits
java.lang.String getValueUnits()
- Returns:
getValueInUnits
T getValueInUnits()
throws java.io.IOException
- Returns:
-
- Throws:
java.io.IOException
getAllFields
Field<?>[] getAllFields()
- Returns: