Class AbstractFSFragmentHandler
- java.lang.Object
-
- org.opendaylight.protocol.bgp.flowspec.handlers.AbstractFSFragmentHandler
-
- All Implemented Interfaces:
FlowspecTypeParser
,FlowspecTypeSerializer
- Direct Known Subclasses:
FSIpv4FragmentHandler
,FSIpv6FragmentHandler
public abstract class AbstractFSFragmentHandler extends Object implements FlowspecTypeParser, FlowspecTypeSerializer
-
-
Field Summary
Fields Modifier and Type Field Description static int
FRAGMENT_VALUE
-
Constructor Summary
Constructors Constructor Description AbstractFSFragmentHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Field Detail
-
FRAGMENT_VALUE
public static final int FRAGMENT_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
parseFragment
protected abstract Fragment parseFragment(byte fragment)
-
serializeFragment
protected abstract byte serializeFragment(Fragment fragment)
-
serializeType
public void serializeType(FlowspecType fsType, io.netty.buffer.ByteBuf output)
- Specified by:
serializeType
in interfaceFlowspecTypeSerializer
-
parseType
public FlowspecType parseType(io.netty.buffer.ByteBuf buffer)
- Specified by:
parseType
in interfaceFlowspecTypeParser
-
-