org.jnetstream.protocol.codec
Interface HeaderRuntime<H extends Header>
- All Superinterfaces:
- CodecRuntime
public interface HeaderRuntime<H extends Header>
- extends CodecRuntime
- Author:
- Mark Bednarczyk, Sly Technologies, Inc.
getOffset
int getOffset()
- Specified by:
getOffset in interface CodecRuntime
- Returns:
add
<T extends Field> void add(T field)
- Parameters:
destinationField -
getSource
H getSource()
- The get properly cast header container object.
- Returns:
- header container
decode
boolean decode()
throws java.io.IOException
- Returns:
-
- Throws:
java.io.IOException
getProtocol
ProtocolInfo<? extends Header> getProtocol()
- Returns: