Class PMSITunnelAttributeHandler
java.lang.Object
org.opendaylight.protocol.bgp.mvpn.impl.attributes.PMSITunnelAttributeHandler
- All Implemented Interfaces:
- AttributeParser,- AttributeSerializer
public final class PMSITunnelAttributeHandler
extends Object
implements AttributeParser, AttributeSerializer
PE Distinguisher Labels Attribute Handler.
 https://tools.ietf.org/html/rfc6514#section-5
- Author:
- Claudio D. Gasparini
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetClazz()intgetType()voidparseAttribute(io.netty.buffer.ByteBuf buffer, AttributesBuilder builder, PeerSpecificParserConstraint constraint) Parses attribute from ByteBuf buffer.voidserializeAttribute(Attributes attribute, io.netty.buffer.ByteBuf byteAggregator) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opendaylight.protocol.bgp.parser.spi.AttributeParserignoreDuplicates, parseAttribute
- 
Constructor Details- 
PMSITunnelAttributeHandlerpublic PMSITunnelAttributeHandler()
 
- 
- 
Method Details- 
parseAttributepublic void parseAttribute(io.netty.buffer.ByteBuf buffer, AttributesBuilder builder, PeerSpecificParserConstraint constraint) Description copied from interface:AttributeParserParses attribute from ByteBuf buffer.- Specified by:
- parseAttributein interface- AttributeParser
- 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.
- constraint- Peer specific constraints, may be null
 
- 
serializeAttribute- Specified by:
- serializeAttributein interface- AttributeSerializer
 
- 
getTypepublic int getType()
- 
getClazz
 
-