public class Layer2AttributesExtCom extends Object
| Constructor and Description | 
|---|
| Layer2AttributesExtCom() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getSubType()Provides a sub-type of the extended community for which the serializer is registered. | 
| int | getType(boolean isTransitive)Provides a type of the extended community for which the serializer is registered. | 
| ExtendedCommunity | parseExtendedCommunity(io.netty.buffer.ByteBuf body)Parses the Extended Community value encoded in the buffer. | 
| void | serializeExtendedCommunity(ExtendedCommunity extendedCommunity,
                          io.netty.buffer.ByteBuf body)Serializes Extended Community value to the buffer. | 
public ExtendedCommunity parseExtendedCommunity(io.netty.buffer.ByteBuf body) throws BGPDocumentedException, BGPParsingException
ExtendedCommunityParserbody - ByteBufBGPDocumentedExceptionBGPParsingExceptionpublic void serializeExtendedCommunity(ExtendedCommunity extendedCommunity, io.netty.buffer.ByteBuf body)
ExtendedCommunitySerializerextendedCommunity - ExtendedCommuity to be encoded.body - The output buffer where the extended community is written.public int getSubType()
ExtendedCommunitySerializerpublic final int getType(boolean isTransitive)
ExtendedCommunitySerializergetType in interface ExtendedCommunitySerializerisTransitive - Transitivity of the extended community.Copyright © 2018 OpenDaylight. All rights reserved.