public final class MPReachAttributeParser extends ReachAttributeParser
Modifier and Type | Field and Description |
---|---|
static int |
TYPE |
Constructor and Description |
---|
MPReachAttributeParser(NlriRegistry reg) |
Modifier and Type | Method and Description |
---|---|
void |
parseAttribute(io.netty.buffer.ByteBuf buffer,
AttributesBuilder builder,
PeerSpecificParserConstraint constraint)
Invokes
AttributeParser.parseAttribute(ByteBuf, AttributesBuilder) , so the constraint is omitted. |
void |
serializeAttribute(Attributes pathAttributes,
io.netty.buffer.ByteBuf byteAggregator) |
parseAttribute
public static final int TYPE
public MPReachAttributeParser(NlriRegistry reg)
public void parseAttribute(io.netty.buffer.ByteBuf buffer, AttributesBuilder builder, PeerSpecificParserConstraint constraint) throws BGPDocumentedException
AttributeParser
AttributeParser.parseAttribute(ByteBuf, AttributesBuilder)
, so the constraint is omitted. Override for specific parser behavior.buffer
- 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.BGPDocumentedException
- exception.public void serializeAttribute(Attributes pathAttributes, io.netty.buffer.ByteBuf byteAggregator)
Copyright © 2019 OpenDaylight. All rights reserved.