public final class DefaultGatewayExtCom extends AbstractOpaqueExtendedCommunity
| Constructor and Description |
|---|
DefaultGatewayExtCom() |
| Modifier and Type | Method and Description |
|---|---|
int |
getSubType()
Provides a sub-type of the extended community for which the serializer is registered.
|
ExtendedCommunity |
parseExtendedCommunity(io.netty.buffer.ByteBuf buffer)
Parses the Extended Community value encoded in the buffer.
|
void |
serializeExtendedCommunity(ExtendedCommunity extendedCommunity,
io.netty.buffer.ByteBuf byteAggregator)
Serializes Extended Community value to the buffer.
|
getTypepublic ExtendedCommunity parseExtendedCommunity(io.netty.buffer.ByteBuf buffer) throws BGPDocumentedException, BGPParsingException
ExtendedCommunityParserbuffer - ByteBufBGPDocumentedExceptionBGPParsingExceptionpublic void serializeExtendedCommunity(ExtendedCommunity extendedCommunity, io.netty.buffer.ByteBuf byteAggregator)
ExtendedCommunitySerializerextendedCommunity - ExtendedCommuity to be encoded.byteAggregator - The output buffer where the extended community is written.public int getSubType()
ExtendedCommunitySerializerCopyright © 2019 OpenDaylight. All rights reserved.