public final class MPUnreachAttributeParser extends Object implements AttributeParser, AttributeSerializer
| 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)
Parses attribute from ByteBuf buffer.
|
void |
parseAttribute(io.netty.buffer.ByteBuf buffer,
AttributesBuilder builder,
PeerSpecificParserConstraint constraint)
Invokes
AttributeParser.parseAttribute(ByteBuf, AttributesBuilder), so the constraint is omitted. |
void |
serializeAttribute(org.opendaylight.yangtools.yang.binding.DataObject attribute,
io.netty.buffer.ByteBuf byteAggregator) |
public static final int TYPE
public MPUnreachAttributeParser(NlriRegistry reg)
public void parseAttribute(io.netty.buffer.ByteBuf buffer,
AttributesBuilder builder)
throws BGPDocumentedException
AttributeParserparseAttribute in interface AttributeParserbuffer - 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.BGPDocumentedExceptionpublic void parseAttribute(io.netty.buffer.ByteBuf buffer,
AttributesBuilder builder,
PeerSpecificParserConstraint constraint)
throws BGPDocumentedException
AttributeParserAttributeParser.parseAttribute(ByteBuf, AttributesBuilder), so the constraint is omitted. Override for specific parser behavior.parseAttribute in interface AttributeParserbuffer - 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.BGPDocumentedExceptionpublic void serializeAttribute(org.opendaylight.yangtools.yang.binding.DataObject attribute,
io.netty.buffer.ByteBuf byteAggregator)
serializeAttribute in interface AttributeSerializerCopyright © 2019 OpenDaylight. All rights reserved.