public final class AggregatorAttributeParser extends AbstractAttributeParser implements AttributeSerializer
Aggregator.| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE |
| Constructor and Description |
|---|
AggregatorAttributeParser(ReferenceCache refCache) |
| 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 pathAttributes,
io.netty.buffer.ByteBuf byteAggregator) |
parseAttributeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitignoreDuplicatespublic static final int TYPE
public AggregatorAttributeParser(ReferenceCache refCache)
public void parseAttribute(io.netty.buffer.ByteBuf buffer,
AttributesBuilder builder,
RevisedErrorHandling errorHandling,
PeerSpecificParserConstraint constraint)
AttributeParserRevisedErrorHandling. Default implementation
ignores error handling and defers to
AttributeParser.parseAttribute(ByteBuf, AttributesBuilder, PeerSpecificParserConstraint).parseAttribute in interface AttributeParserparseAttribute in class AbstractAttributeParserbuffer - 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 nullpublic void serializeAttribute(Attributes pathAttributes, io.netty.buffer.ByteBuf byteAggregator)
serializeAttribute in interface AttributeSerializerCopyright © 2020 OpenDaylight. All rights reserved.