Class PEDistinguisherLabelsAttributeHandler
- java.lang.Object
- 
- org.opendaylight.protocol.bgp.parser.spi.AbstractAttributeParser
- 
- org.opendaylight.protocol.bgp.mvpn.impl.attributes.PEDistinguisherLabelsAttributeHandler
 
 
- 
- All Implemented Interfaces:
- AttributeParser,- AttributeSerializer
 
 public final class PEDistinguisherLabelsAttributeHandler extends AbstractAttributeParser implements AttributeSerializer PE Distinguisher Labels Attribute Handler. https://tools.ietf.org/html/rfc6514#section-8- Author:
- Claudio D. Gasparini
 
- 
- 
Constructor SummaryConstructors Constructor Description PEDistinguisherLabelsAttributeHandler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends org.opendaylight.yangtools.yang.binding.DataObject>getClazz()intgetType()voidparseAttribute(io.netty.buffer.ByteBuf buffer, AttributesBuilder builder, RevisedErrorHandling errorHandling, PeerSpecificParserConstraint constraint)Parses attribute from ByteBuf buffer with the specifiedRevisedErrorHandling.voidserializeAttribute(Attributes attribute, io.netty.buffer.ByteBuf byteAggregator)- 
Methods inherited from class org.opendaylight.protocol.bgp.parser.spi.AbstractAttributeParserparseAttribute
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface org.opendaylight.protocol.bgp.parser.spi.AttributeParserignoreDuplicates
 
- 
 
- 
- 
- 
Method Detail- 
parseAttributepublic void parseAttribute(io.netty.buffer.ByteBuf buffer, AttributesBuilder builder, RevisedErrorHandling errorHandling, PeerSpecificParserConstraint constraint) throws BGPTreatAsWithdrawExceptionDescription copied from interface:AttributeParserParses attribute from ByteBuf buffer with the specifiedRevisedErrorHandling. Default implementation ignores error handling and defers toAttributeParser.parseAttribute(ByteBuf, AttributesBuilder, PeerSpecificParserConstraint).- Specified by:
- parseAttributein interface- AttributeParser
- Specified by:
- parseAttributein class- AbstractAttributeParser
- Parameters:
- buffer- 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 type
- constraint- Peer specific constraints, may be null
- Throws:
- BGPTreatAsWithdrawException- when parsing according to revised error handling indicates the message should be treated as withdraw.
 
 - 
serializeAttributepublic void serializeAttribute(Attributes attribute, io.netty.buffer.ByteBuf byteAggregator) - Specified by:
- serializeAttributein interface- AttributeSerializer
 
 - 
getTypepublic int getType() 
 - 
getClazzpublic Class<? extends org.opendaylight.yangtools.yang.binding.DataObject> getClazz() 
 
- 
 
-