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 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:
      parseExtendedCommunity in interface org.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunityParser
      Throws:
      org.opendaylight.protocol.bgp.parser.BGPDocumentedException
      org.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:
      serializeExtendedCommunity in interface org.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunitySerializer
    • getType

      public int getType(boolean isTransitive)
      Specified by:
      getType in interface org.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunitySerializer
    • getSubType

      public int getSubType()
      Specified by:
      getSubType in interface org.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunitySerializer