Class AS4PathAttributeParser
java.lang.Object
org.opendaylight.protocol.bgp.parser.impl.message.update.AS4PathAttributeParser
- All Implemented Interfaces:
AttributeParser,AttributeSerializer
public final class AS4PathAttributeParser
extends Object
implements AttributeParser, AttributeSerializer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidparseAttribute(io.netty.buffer.ByteBuf bytes, AttributesBuilder builder, PeerSpecificParserConstraint constraint) Parses attribute from ByteBuf buffer.voidserializeAttribute(Attributes attribute, io.netty.buffer.ByteBuf byteAggregator) Methods 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, parseAttribute
-
Field Details
-
TYPE
public static final int TYPE- See Also:
-
-
Constructor Details
-
AS4PathAttributeParser
public AS4PathAttributeParser()
-
-
Method Details
-
parseAttribute
public void parseAttribute(io.netty.buffer.ByteBuf bytes, AttributesBuilder builder, PeerSpecificParserConstraint constraint) Description copied from interface:AttributeParserParses attribute from ByteBuf buffer.- Specified by:
parseAttributein interfaceAttributeParser- Parameters:
bytes- Encoded attribute body in ByteBuf.builder- Path attributes builder. Guaranteed to contain all valid attributes whose type is numerically lower than this attribute's type.constraint- Peer specific constraints, may be null
-
serializeAttribute
- Specified by:
serializeAttributein interfaceAttributeSerializer
-