public final class PEDistinguisherLabelsAttributeHandler extends AbstractAttributeParser implements AttributeSerializer
| Constructor and Description |
|---|
PEDistinguisherLabelsAttributeHandler() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends org.opendaylight.yangtools.yang.binding.DataObject> |
getClazz() |
int |
getType() |
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 attribute,
io.netty.buffer.ByteBuf byteAggregator) |
parseAttributeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitignoreDuplicatespublic PEDistinguisherLabelsAttributeHandler()
public void parseAttribute(io.netty.buffer.ByteBuf buffer,
AttributesBuilder builder,
RevisedErrorHandling errorHandling,
PeerSpecificParserConstraint constraint)
throws BGPTreatAsWithdrawException
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 nullBGPTreatAsWithdrawException - when parsing according to revised error handling indicates the
message should be treated as withdraw.public void serializeAttribute(Attributes attribute, io.netty.buffer.ByteBuf byteAggregator)
serializeAttribute in interface AttributeSerializerpublic int getType()
public Class<? extends org.opendaylight.yangtools.yang.binding.DataObject> getClazz()
Copyright © 2020 OpenDaylight. All rights reserved.