Interface ExtendedCommunitySerializer

All Known Implementing Classes:
Abstract4OctetAsExtendedCommunity, AbstractIpv4ExtendedCommunity, AbstractOpaqueExtendedCommunity, AbstractTwoOctetAsExtendedCommunity

public interface ExtendedCommunitySerializer
The Extended Community serializer (ExtendedCommunity to ByteBuf).
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    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.
    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.
  • Method Details

    • 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.