Class AsPathAttributeParser
java.lang.Object
org.opendaylight.protocol.bgp.parser.spi.AbstractAttributeParser
org.opendaylight.protocol.bgp.parser.impl.message.update.AsPathAttributeParser
- All Implemented Interfaces:
org.opendaylight.protocol.bgp.parser.spi.AttributeParser,org.opendaylight.protocol.bgp.parser.spi.AttributeSerializer
public final class AsPathAttributeParser
extends org.opendaylight.protocol.bgp.parser.spi.AbstractAttributeParser
implements org.opendaylight.protocol.bgp.parser.spi.AttributeSerializer
Parser for AS_PATH attribute.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAsPathAttributeParser(org.opendaylight.protocol.util.ReferenceCache refCache) -
Method Summary
Modifier and TypeMethodDescriptionvoidparseAttribute(io.netty.buffer.ByteBuf buffer, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.AttributesBuilder builder, org.opendaylight.protocol.bgp.parser.spi.RevisedErrorHandling errorHandling, org.opendaylight.protocol.bgp.parser.spi.PeerSpecificParserConstraint constraint) voidserializeAttribute(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.Attributes pathAttributes, io.netty.buffer.ByteBuf byteAggregator) Methods inherited from class org.opendaylight.protocol.bgp.parser.spi.AbstractAttributeParser
parseAttributeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opendaylight.protocol.bgp.parser.spi.AttributeParser
ignoreDuplicates
-
Field Details
-
TYPE
public static final int TYPE- See Also:
-
-
Constructor Details
-
AsPathAttributeParser
public AsPathAttributeParser(org.opendaylight.protocol.util.ReferenceCache refCache)
-
-
Method Details
-
parseAttribute
public void parseAttribute(io.netty.buffer.ByteBuf buffer, org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.AttributesBuilder builder, org.opendaylight.protocol.bgp.parser.spi.RevisedErrorHandling errorHandling, org.opendaylight.protocol.bgp.parser.spi.PeerSpecificParserConstraint constraint) throws org.opendaylight.protocol.bgp.parser.BGPDocumentedException, org.opendaylight.protocol.bgp.parser.BGPTreatAsWithdrawException - Specified by:
parseAttributein interfaceorg.opendaylight.protocol.bgp.parser.spi.AttributeParser- Specified by:
parseAttributein classorg.opendaylight.protocol.bgp.parser.spi.AbstractAttributeParser- Throws:
org.opendaylight.protocol.bgp.parser.BGPDocumentedExceptionorg.opendaylight.protocol.bgp.parser.BGPTreatAsWithdrawException
-
serializeAttribute
public void serializeAttribute(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.message.rev200120.path.attributes.Attributes pathAttributes, io.netty.buffer.ByteBuf byteAggregator) - Specified by:
serializeAttributein interfaceorg.opendaylight.protocol.bgp.parser.spi.AttributeSerializer
-