Class AsTwoOctetSpecificEcHandler
java.lang.Object
org.opendaylight.protocol.bgp.parser.spi.extended.community.AbstractTwoOctetAsExtendedCommunity
org.opendaylight.protocol.bgp.parser.impl.message.update.extended.communities.AsTwoOctetSpecificEcHandler
- All Implemented Interfaces:
org.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunityParser,org.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunitySerializer
public class AsTwoOctetSpecificEcHandler
extends org.opendaylight.protocol.bgp.parser.spi.extended.community.AbstractTwoOctetAsExtendedCommunity
-
Field Summary
Fields inherited from class org.opendaylight.protocol.bgp.parser.spi.extended.community.AbstractTwoOctetAsExtendedCommunity
AS_LOCAL_ADMIN_LENGTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintorg.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 byteAggregator) Methods inherited from class org.opendaylight.protocol.bgp.parser.spi.extended.community.AbstractTwoOctetAsExtendedCommunity
getType
-
Constructor Details
-
AsTwoOctetSpecificEcHandler
public AsTwoOctetSpecificEcHandler()
-
-
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 - 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 byteAggregator) -
getSubType
public int getSubType()
-