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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract FragmentparseFragment(byte fragment) parseType(io.netty.buffer.ByteBuf buffer) protected abstract byteserializeFragment(Fragment fragment) voidserializeType(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:
serializeTypein interfaceFlowspecTypeSerializer
-
parseType
- Specified by:
parseTypein interfaceFlowspecTypeParser
-