public final class MPUnreachAttributeParser extends ReachAttributeParser
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE |
| Constructor and Description |
|---|
MPUnreachAttributeParser(NlriRegistry reg) |
| Modifier and Type | Method and Description |
|---|---|
void |
parseAttribute(io.netty.buffer.ByteBuf buffer,
AttributesBuilder builder,
RevisedErrorHandling errorHandling,
PeerSpecificParserConstraint constraint)
Parses attribute from ByteBuf buffer with the specified
RevisedErrorHandling. |
void |
serializeAttribute(Attributes attribute,
io.netty.buffer.ByteBuf byteAggregator) |
ignoreDuplicatesparseAttributepublic static final int TYPE
public MPUnreachAttributeParser(NlriRegistry reg)
public void parseAttribute(io.netty.buffer.ByteBuf buffer,
AttributesBuilder builder,
RevisedErrorHandling errorHandling,
PeerSpecificParserConstraint constraint)
throws BGPDocumentedException
AttributeParserRevisedErrorHandling. Default implementation
ignores error handling and defers to
AttributeParser.parseAttribute(ByteBuf, AttributesBuilder, PeerSpecificParserConstraint).parseAttribute in interface AttributeParserparseAttribute in class ReachAttributeParserbuffer - 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.errorHandling - RFC7606 error handling typeconstraint - Peer specific constraints, may be nullBGPDocumentedException - when an irrecoverable error occurred which has a BGPError assignedpublic void serializeAttribute(Attributes attribute, io.netty.buffer.ByteBuf byteAggregator)
Copyright © 2020 OpenDaylight. All rights reserved.