public class AigpAttributeParser extends Object implements AttributeParser, AttributeSerializer
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE |
| Constructor and Description |
|---|
AigpAttributeParser() |
| Modifier and Type | Method and Description |
|---|---|
void |
parseAttribute(io.netty.buffer.ByteBuf buffer,
AttributesBuilder builder)
Parses attribute from ByteBuf buffer.
|
void |
serializeAttribute(Attributes attribute,
io.netty.buffer.ByteBuf byteAggregator) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitparseAttributepublic static final int TYPE
public void parseAttribute(io.netty.buffer.ByteBuf buffer,
AttributesBuilder builder)
throws BGPDocumentedException,
BGPParsingException
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.BGPDocumentedExceptionBGPParsingExceptionpublic void serializeAttribute(Attributes attribute, io.netty.buffer.ByteBuf byteAggregator)
serializeAttribute in interface AttributeSerializerCopyright © 2019 OpenDaylight. All rights reserved.