Class EncapsulationEC
java.lang.Object
org.opendaylight.protocol.bgp.parser.spi.extended.community.AbstractOpaqueExtendedCommunity
org.opendaylight.protocol.bgp.parser.impl.message.update.extended.communities.EncapsulationEC
- All Implemented Interfaces:
org.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunityParser,org.opendaylight.protocol.bgp.parser.spi.extended.community.ExtendedCommunitySerializer
public class EncapsulationEC
extends org.opendaylight.protocol.bgp.parser.spi.extended.community.AbstractOpaqueExtendedCommunity
Parser for BGP Encapsulation extended community attribute.
- See Also:
-
Field Summary
Fields -
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 body) Methods inherited from class org.opendaylight.protocol.bgp.parser.spi.extended.community.AbstractOpaqueExtendedCommunity
getType
-
Field Details
-
SUBTYPE
public static final int SUBTYPE- See Also:
-
-
Constructor Details
-
EncapsulationEC
public EncapsulationEC()
-
-
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 body) -
getSubType
public int getSubType()
-