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
Fields Modifier and Type Field Description static int
CODE
-
Constructor Summary
Constructors Constructor Description MultiProtocolCapabilityHandler(AddressFamilyRegistry afiReg, SubsequentAddressFamilyRegistry safiReg)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CParameters
parseCapability(io.netty.buffer.ByteBuf buffer)
void
serializeCapability(CParameters capability, io.netty.buffer.ByteBuf byteAggregator)
-
-
-
Field Detail
-
CODE
public static final int CODE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MultiProtocolCapabilityHandler
public MultiProtocolCapabilityHandler(AddressFamilyRegistry afiReg, SubsequentAddressFamilyRegistry safiReg)
-
-
Method Detail
-
parseCapability
public CParameters parseCapability(io.netty.buffer.ByteBuf buffer) throws BGPDocumentedException, BGPParsingException
- Specified by:
parseCapability
in interfaceCapabilityParser
- Throws:
BGPDocumentedException
BGPParsingException
-
serializeCapability
public void serializeCapability(CParameters capability, io.netty.buffer.ByteBuf byteAggregator)
- Specified by:
serializeCapability
in interfaceCapabilitySerializer
-
-