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
Fields Modifier and Type Field Description static int
CODE
-
Constructor Summary
Constructors Constructor Description GracefulCapabilityHandler(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
-
GracefulCapabilityHandler
public GracefulCapabilityHandler(AddressFamilyRegistry afiReg, SubsequentAddressFamilyRegistry safiReg)
-
-
Method Detail
-
serializeCapability
public void serializeCapability(CParameters capability, io.netty.buffer.ByteBuf byteAggregator)
- 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
-
-