Interface ExtendedCommunitySerializer
-
- All Known Implementing Classes:
Abstract4OctetAsExtendedCommunity,AbstractIpv4ExtendedCommunity,AbstractOpaqueExtendedCommunity,AbstractTwoOctetAsExtendedCommunity
public interface ExtendedCommunitySerializerThe Extended Community serializer (ExtendedCommunity to ByteBuf).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetSubType()Provides a sub-type of the extended community for which the serializer is registered.intgetType(boolean isTransitive)Provides a type of the extended community for which the serializer is registered.voidserializeExtendedCommunity(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.extended.community.ExtendedCommunity extendedCommunity, io.netty.buffer.ByteBuf byteAggregator)Serializes Extended Community value to the buffer.
-
-
-
Method Detail
-
serializeExtendedCommunity
void serializeExtendedCommunity(org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bgp.types.rev200120.extended.community.ExtendedCommunity extendedCommunity, io.netty.buffer.ByteBuf byteAggregator)Serializes Extended Community value to the buffer.- Parameters:
extendedCommunity- ExtendedCommuity to be encoded.byteAggregator- The output buffer where the extended community is written.
-
getType
int getType(boolean isTransitive)
Provides a type of the extended community for which the serializer is registered.- Parameters:
isTransitive- Transitivity of the extended community.- Returns:
- A type of the extended community.
-
getSubType
int getSubType()
Provides a sub-type of the extended community for which the serializer is registered.- Returns:
- A sub-type of the extended community.
-
-