public final class AS4PathAttributeParser extends Object implements AttributeParser, AttributeSerializer
Modifier and Type | Field and Description |
---|---|
static int |
TYPE |
Constructor and Description |
---|
AS4PathAttributeParser() |
Modifier and Type | Method and Description |
---|---|
void |
parseAttribute(io.netty.buffer.ByteBuf bytes,
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, wait
parseAttribute
public static final int TYPE
public void parseAttribute(io.netty.buffer.ByteBuf bytes, AttributesBuilder builder)
AttributeParser
parseAttribute
in interface AttributeParser
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.public void serializeAttribute(Attributes attribute, io.netty.buffer.ByteBuf byteAggregator)
serializeAttribute
in interface AttributeSerializer
Copyright © 2019 OpenDaylight. All rights reserved.