Class NniType

  • All Implemented Interfaces:
    Serializable, Enumerated

    public class NniType
    extends Object
    implements Serializable, Enumerated
    Java class to represent the NniType enumerated type.

    Documentation from the relevant specification:

    The NNI-Type AVP (AVP code 2704) is of type Enumerated and indicates whether the type of used NNI is non-roaming, roaming without loopback routing or roaming with loopback routing.

    Author:
    Open Cloud
    See Also:
    Serialized Form
    • Field Detail

      • _ROAMING_WITHOUT_LOOPBACK

        public static final int _ROAMING_WITHOUT_LOOPBACK
        See Also:
        Constant Field Values
      • NON_ROAMING

        public static final NniType NON_ROAMING
      • ROAMING_WITHOUT_LOOPBACK

        public static final NniType ROAMING_WITHOUT_LOOPBACK
      • ROAMING_WITH_LOOPBACK

        public static final NniType ROAMING_WITH_LOOPBACK
    • Method Detail

      • fromInt

        public static NniType fromInt​(int type)
      • getValue

        public int getValue()
        Description copied from interface: Enumerated
        Return the value of this instance of this enumerated type.
        Specified by:
        getValue in interface Enumerated
        Returns:
        value