Class GracefulCapabilityHandler
java.lang.Object
org.opendaylight.protocol.bgp.parser.impl.message.open.GracefulCapabilityHandler
- All Implemented Interfaces:
CapabilityParser
,CapabilitySerializer
public final class GracefulCapabilityHandler
extends Object
implements CapabilityParser, CapabilitySerializer
-
Field Summary
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionparseCapability
(io.netty.buffer.ByteBuf buffer) void
serializeCapability
(CParameters capability, io.netty.buffer.ByteBuf byteAggregator)
-
Field Details
-
CODE
public static final int CODE- See Also:
-
-
Constructor Details
-
GracefulCapabilityHandler
public GracefulCapabilityHandler(AddressFamilyRegistry afiReg, SubsequentAddressFamilyRegistry safiReg)
-
-
Method Details
-
serializeCapability
- Specified by:
serializeCapability
in interfaceCapabilitySerializer
-
parseCapability
public CParameters parseCapability(io.netty.buffer.ByteBuf buffer) throws BGPDocumentedException, BGPParsingException - Specified by:
parseCapability
in interfaceCapabilityParser
- Throws:
BGPDocumentedException
BGPParsingException
-