Class OduSignalId


  • public class OduSignalId
    extends Object
    Implementation of ODU Signal ID.

    See ITU G.709 "Interfaces for the Optical Transport Network (OTN)".

    • Field Detail

      • TRIBUTARY_SLOT_BITMAP_SIZE

        public static final int TRIBUTARY_SLOT_BITMAP_SIZE
        See Also:
        Constant Field Values
    • Constructor Detail

      • OduSignalId

        public OduSignalId​(int tributaryPortNumber,
                           int tributarySlotLen,
                           byte[] tributarySlotBitmap)
        Creates an instance with the specified arguments.
        Parameters:
        tributaryPortNumber - tributary port number
        tributarySlotLen - tributary slot len
        tributarySlotBitmap - tributary slot bitmap
    • Method Detail

      • oduSignalId

        public static OduSignalId oduSignalId​(int tributaryPortNumber,
                                              int tributarySlotLen,
                                              byte[] tributarySlotBitmap)
        Returns the OduSignalId representing the specified parameters.
        Parameters:
        tributaryPortNumber - tributary port number
        tributarySlotLen - tributary slot len
        tributarySlotBitmap - tributary slot bitmap
        Returns:
        OduSignalId
      • tributaryPortNumber

        public int tributaryPortNumber()
        Returns tributary port number.
        Returns:
        the tributaryPortNumber
      • tributarySlotLength

        public int tributarySlotLength()
        Returns tributary slot length.
        Returns:
        the tributarySlotLen
      • tributarySlotBitmap

        public byte[] tributarySlotBitmap()
        Returns tributary slot bitmap.
        Returns:
        the tributarySlotBitmap
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object