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 intFRAGMENT_VALUE
-
Constructor Summary
Constructors Constructor Description AbstractFSFragmentHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract FragmentparseFragment(byte fragment)FlowspecTypeparseType(io.netty.buffer.ByteBuf buffer)protected abstract byteserializeFragment(Fragment fragment)voidserializeType(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:
serializeTypein interfaceFlowspecTypeSerializer
-
parseType
public FlowspecType parseType(io.netty.buffer.ByteBuf buffer)
- Specified by:
parseTypein interfaceFlowspecTypeParser
-
-