Class MPUnreachAttributeParser
java.lang.Object
org.opendaylight.protocol.bgp.parser.spi.AbstractAttributeParser
org.opendaylight.protocol.bgp.parser.impl.message.update.ReachAttributeParser
org.opendaylight.protocol.bgp.parser.impl.message.update.MPUnreachAttributeParser
- All Implemented Interfaces:
- AttributeParser,- AttributeSerializer
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidparseAttribute(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.impl.message.update.ReachAttributeParserignoreDuplicatesMethods inherited from class org.opendaylight.protocol.bgp.parser.spi.AbstractAttributeParserparseAttribute
- 
Field Details- 
TYPEpublic static final int TYPE- See Also:
 
 
- 
- 
Constructor Details- 
MPUnreachAttributeParser
 
- 
- 
Method Details- 
parseAttributepublic void parseAttribute(io.netty.buffer.ByteBuf buffer, AttributesBuilder builder, RevisedErrorHandling errorHandling, PeerSpecificParserConstraint constraint) throws BGPDocumentedException Description 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- ReachAttributeParser
- 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:
- BGPDocumentedException- when an irrecoverable error occurred which has a- BGPErrorassigned
 
- 
serializeAttribute
 
-