public interface ExtendedCommunityRegistry
Modifier and Type | Method and Description |
---|---|
ExtendedCommunities |
parseExtendedCommunity(io.netty.buffer.ByteBuf buffer)
Parses the Extended Community.
|
void |
serializeExtendedCommunity(ExtendedCommunities extendedCommunity,
io.netty.buffer.ByteBuf byteAggregator)
Serializes the Extended Community.
|
ExtendedCommunities parseExtendedCommunity(io.netty.buffer.ByteBuf buffer) throws BGPDocumentedException, BGPParsingException
buffer
- ByteBufBGPDocumentedException
BGPParsingException
void serializeExtendedCommunity(ExtendedCommunities extendedCommunity, io.netty.buffer.ByteBuf byteAggregator)
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.Copyright © 2018 OpenDaylight. All rights reserved.