Interface ExtendedCommunityRegistry
public interface ExtendedCommunityRegistry
The Extended Communities registry.
- 
Method SummaryModifier and TypeMethodDescriptionparseExtendedCommunity(io.netty.buffer.ByteBuf buffer) Parses the Extended Community.voidserializeExtendedCommunity(ExtendedCommunities extendedCommunity, io.netty.buffer.ByteBuf byteAggregator) Serializes the Extended Community.
- 
Method Details- 
parseExtendedCommunityExtendedCommunities parseExtendedCommunity(io.netty.buffer.ByteBuf buffer) throws BGPDocumentedException, BGPParsingException Parses the Extended Community.- Parameters:
- buffer- ByteBuf
- Returns:
- Decoded ExtendedCommunity or null if the parser for such Extended Community type/sub-type is not present.
- Throws:
- BGPDocumentedException
- BGPParsingException
 
- 
serializeExtendedCommunityvoid serializeExtendedCommunity(ExtendedCommunities extendedCommunity, io.netty.buffer.ByteBuf byteAggregator) Serializes the Extended Community.- Parameters:
- extendedCommunity- ExtendedCommunity to be encoded.
- byteAggregator- ByteBuf, where the Extended Community is serialized, if a serialized is not present for such Extended Community type, no bytes are written into output buffer.
 
 
-