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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Fragment
parseFragment
(byte fragment) parseType
(io.netty.buffer.ByteBuf buffer) protected abstract byte
serializeFragment
(Fragment fragment) void
serializeType
(FlowspecType fsType, io.netty.buffer.ByteBuf output)
-
Field Details
-
FRAGMENT_VALUE
public static final int FRAGMENT_VALUE- See Also:
-
-
Constructor Details
-
AbstractFSFragmentHandler
public AbstractFSFragmentHandler()
-
-
Method Details
-
parseFragment
-
serializeFragment
-
serializeType
- Specified by:
serializeType
in interfaceFlowspecTypeSerializer
-
parseType
- Specified by:
parseType
in interfaceFlowspecTypeParser
-