Interface ExtendedCommunitySerializer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method 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.
      void serializeExtendedCommunity​(ExtendedCommunity extendedCommunity, io.netty.buffer.ByteBuf byteAggregator)
      Serializes Extended Community value to the buffer.
    • Method Detail

      • serializeExtendedCommunity

        void serializeExtendedCommunity​(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.