Class LinkBandwidthEC
java.lang.Object
org.opendaylight.protocol.bgp.parser.impl.message.update.extended.communities.LinkBandwidthEC
- All Implemented Interfaces:
org.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunityParser,org.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunitySerializer
public class LinkBandwidthEC
extends Object
implements org.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunityParser, org.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunitySerializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintgetType(boolean isTransitive) org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.extended.community.ExtendedCommunityparseExtendedCommunity(io.netty.buffer.ByteBuf buffer) voidserializeExtendedCommunity(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.extended.community.ExtendedCommunity extendedCommunity, io.netty.buffer.ByteBuf body)
-
Constructor Details
-
LinkBandwidthEC
public LinkBandwidthEC()
-
-
Method Details
-
parseExtendedCommunity
public org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.extended.community.ExtendedCommunity parseExtendedCommunity(io.netty.buffer.ByteBuf buffer) throws org.opendaylight.protocol.bgp.parser.BGPDocumentedException, org.opendaylight.protocol.bgp.parser.BGPParsingException - Specified by:
parseExtendedCommunityin interfaceorg.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunityParser- Throws:
org.opendaylight.protocol.bgp.parser.BGPDocumentedExceptionorg.opendaylight.protocol.bgp.parser.BGPParsingException
-
serializeExtendedCommunity
public void serializeExtendedCommunity(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.extended.community.ExtendedCommunity extendedCommunity, io.netty.buffer.ByteBuf body) - Specified by:
serializeExtendedCommunityin interfaceorg.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunitySerializer
-
getType
public int getType(boolean isTransitive) - Specified by:
getTypein interfaceorg.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunitySerializer
-
getSubType
public int getSubType()- Specified by:
getSubTypein interfaceorg.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunitySerializer
-