public abstract class AbstractFSFragmentHandler extends Object implements FlowspecTypeParser, FlowspecTypeSerializer
| Modifier and Type | Field and Description |
|---|---|
static int |
FRAGMENT_VALUE |
| Constructor and Description |
|---|
AbstractFSFragmentHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Fragment |
parseFragment(byte fragment) |
FlowspecType |
parseType(io.netty.buffer.ByteBuf buffer) |
protected abstract byte |
serializeFragment(Fragment fragment) |
void |
serializeType(FlowspecType fsType,
io.netty.buffer.ByteBuf output) |
public static final int FRAGMENT_VALUE
protected abstract Fragment parseFragment(byte fragment)
protected abstract byte serializeFragment(Fragment fragment)
public void serializeType(FlowspecType fsType, io.netty.buffer.ByteBuf output)
serializeType in interface FlowspecTypeSerializerpublic FlowspecType parseType(io.netty.buffer.ByteBuf buffer)
parseType in interface FlowspecTypeParserCopyright © 2019 OpenDaylight. All rights reserved.