Class MultiProtocolCapabilityHandler
java.lang.Object
org.opendaylight.protocol.bgp.parser.impl.message.open.MultiProtocolCapabilityHandler
- All Implemented Interfaces:
CapabilityParser
,CapabilitySerializer
public final class MultiProtocolCapabilityHandler
extends Object
implements CapabilityParser, CapabilitySerializer
-
Field Summary
-
Constructor Summary
ConstructorDescriptionMultiProtocolCapabilityHandler
(AddressFamilyRegistry afiReg, SubsequentAddressFamilyRegistry safiReg) -
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
-
MultiProtocolCapabilityHandler
public MultiProtocolCapabilityHandler(AddressFamilyRegistry afiReg, SubsequentAddressFamilyRegistry safiReg)
-
-
Method Details
-
parseCapability
public CParameters parseCapability(io.netty.buffer.ByteBuf buffer) throws BGPDocumentedException, BGPParsingException - Specified by:
parseCapability
in interfaceCapabilityParser
- Throws:
BGPDocumentedException
BGPParsingException
-
serializeCapability
- Specified by:
serializeCapability
in interfaceCapabilitySerializer
-