Class OduSignalUtils


  • public final class OduSignalUtils
    extends Object
    Collection of helper methods to convert various SignalTypes to OduSignalType, and to build OduSignalId.
    • Method Detail

      • mappingCltSignalTypeToOduSignalType

        public static OduSignalType mappingCltSignalTypeToOduSignalType​(CltSignalType cltSignalType)
        Maps from OduClt SignalType to OduSignalType.
        Parameters:
        cltSignalType - OduClt port signal type
        Returns:
        OduSignalType the result of mapping CltSignalType to OduSignalType
      • mappingOtuSignalTypeToOduSignalType

        public static OduSignalType mappingOtuSignalTypeToOduSignalType​(OtuSignalType otuSignalType)
        Maps from OtuPort SignalType to OduSignalType.
        Parameters:
        otuSignalType - Otu port signal type
        Returns:
        OduSignalType the result of mapping OtuSignalType to OduSignalType
      • buildOduSignalId

        public static OduSignalId buildOduSignalId​(OduSignalType oduSignalType,
                                                   Set<TributarySlot> slots)
        Creates OduSignalId from OduSignalType and TributarySlots.
        Parameters:
        oduSignalType - - OduSignalType
        slots - - a set of TributarySlots
        Returns:
        OduSignalId