Class Signal.SignalValue

  • All Implemented Interfaces:
    DataObject, Immutable, Serializable
    Enclosing class:
    Signal

    public static final class Signal.SignalValue
    extends NamedInteger
    Subset of signal value constants, alerting-related signals only.

    The API offered by this class is as if the type were specified in ASN.1 as follows.

     SignalValue ::= ENUMERATED {
         DIAL_TONE_ON               (0),
         RING_BACK_TONE_ON          (1),
         INTERCEPT_TONE_ON          (2),
         NETWORK_CONGESTION_TONE_ON (3),
         BUSY_TONE_ON               (4),
         CONFIRM_TONE_ON            (5),
         ANSWER_TONE_ON             (6),
         CALL_WAITING_TONE          (7),
         OFF_HOOK_WARNING_TONE      (8),
         PREEMPTION_TONE_ON         (9),
         ... ,
         TONES_OFF                 (63),
         ALERTING_ON_PATTERN_0     (64),
         ALERTING_ON_PATTERN_1     (65),
         ALERTING_ON_PATTERN_2     (66),
         ALERTING_ON_PATTERN_3     (67),
         ALERTING_ON_PATTERN_4     (68),
         ALERTING_ON_PATTERN_5     (69),
         ALERTING_ON_PATTERN_6     (70),
         ALERTING_ON_PATTERN_7     (71),
         ... ,
         ALERTING_OFF              (79),
         ...
     }
    See Also:
    Serialized Form
    • Field Detail

      • _DIAL_TONE_ON

        public static final int _DIAL_TONE_ON
        Signal value constant corresponding to dial tone on.
        See Also:
        Constant Field Values
      • _RING_BACK_TONE_ON

        public static final int _RING_BACK_TONE_ON
        Signal value constant corresponding to ring back tone on.
        See Also:
        Constant Field Values
      • _INTERCEPT_TONE_ON

        public static final int _INTERCEPT_TONE_ON
        Signal value constant corresponding to intercept tone on.
        See Also:
        Constant Field Values
      • _NETWORK_CONGESTION_TONE_ON

        public static final int _NETWORK_CONGESTION_TONE_ON
        Signal value constant corresponding to network congestion tone on.
        See Also:
        Constant Field Values
      • _BUSY_TONE_ON

        public static final int _BUSY_TONE_ON
        Signal value constant corresponding to busy tone on.
        See Also:
        Constant Field Values
      • _CONFIRM_TONE_ON

        public static final int _CONFIRM_TONE_ON
        Signal value constant corresponding to confirm tone on.
        See Also:
        Constant Field Values
      • _ANSWER_TONE_ON

        public static final int _ANSWER_TONE_ON
        Signal value constant corresponding to answer tone on.
        See Also:
        Constant Field Values
      • _CALL_WAITING_TONE

        public static final int _CALL_WAITING_TONE
        Signal value constant corresponding to call waiting tone.
        See Also:
        Constant Field Values
      • _OFF_HOOK_WARNING_TONE

        public static final int _OFF_HOOK_WARNING_TONE
        Signal value constant corresponding to off hook warning tone.
        See Also:
        Constant Field Values
      • _PREEMPTION_TONE_ON

        public static final int _PREEMPTION_TONE_ON
        Signal value constant corresponding to pre-emption tone on.
        See Also:
        Constant Field Values
      • _TONES_OFF

        public static final int _TONES_OFF
        Signal value constant corresponding to tones off.
        See Also:
        Constant Field Values
      • _ALERTING_ON_PATTERN_0

        public static final int _ALERTING_ON_PATTERN_0
        Signal value constant corresponding to alerting on - pattern 0 (use is network dependent).
        See Also:
        Constant Field Values
      • _ALERTING_ON_PATTERN_1

        public static final int _ALERTING_ON_PATTERN_1
        Signal value constant corresponding to alerting on - pattern 1 (use is network dependent).
        See Also:
        Constant Field Values
      • _ALERTING_ON_PATTERN_2

        public static final int _ALERTING_ON_PATTERN_2
        Signal value constant corresponding to alerting on - pattern 2 (used for special/priority alerting).
        See Also:
        Constant Field Values
      • _ALERTING_ON_PATTERN_3

        public static final int _ALERTING_ON_PATTERN_3
        Signal value constant corresponding to alerting on - pattern 3 (use is network dependent).
        See Also:
        Constant Field Values
      • _ALERTING_ON_PATTERN_4

        public static final int _ALERTING_ON_PATTERN_4
        Signal value constant corresponding to alerting on - pattern 4 (use is network dependent).
        See Also:
        Constant Field Values
      • _ALERTING_ON_PATTERN_5

        public static final int _ALERTING_ON_PATTERN_5
        Signal value constant corresponding to alerting on - pattern 5 (use is network dependent).
        See Also:
        Constant Field Values
      • _ALERTING_ON_PATTERN_6

        public static final int _ALERTING_ON_PATTERN_6
        Signal value constant corresponding to alerting on - pattern 6 (use is network dependent).
        See Also:
        Constant Field Values
      • _ALERTING_ON_PATTERN_7

        public static final int _ALERTING_ON_PATTERN_7
        Signal value constant corresponding to alerting on - pattern 7 (use is network dependent).
        See Also:
        Constant Field Values
      • _ALERTING_OFF

        public static final int _ALERTING_OFF
        Signal value constant corresponding to alerting off.
        See Also:
        Constant Field Values
      • DIAL_TONE_ON

        public static final Signal.SignalValue DIAL_TONE_ON
        Signal value constant corresponding to dial tone on.
      • RING_BACK_TONE_ON

        public static final Signal.SignalValue RING_BACK_TONE_ON
        Signal value constant corresponding to ring back tone on.
      • INTERCEPT_TONE_ON

        public static final Signal.SignalValue INTERCEPT_TONE_ON
        Signal value constant corresponding to intercept tone on.
      • NETWORK_CONGESTION_TONE_ON

        public static final Signal.SignalValue NETWORK_CONGESTION_TONE_ON
        Signal value constant corresponding to network congestion tone on.
      • BUSY_TONE_ON

        public static final Signal.SignalValue BUSY_TONE_ON
        Signal value constant corresponding to busy tone on.
      • CONFIRM_TONE_ON

        public static final Signal.SignalValue CONFIRM_TONE_ON
        Signal value constant corresponding to confirm tone on.
      • ANSWER_TONE_ON

        public static final Signal.SignalValue ANSWER_TONE_ON
        Signal value constant corresponding to answer tone on.
      • CALL_WAITING_TONE

        public static final Signal.SignalValue CALL_WAITING_TONE
        Signal value constant corresponding to call waiting tone.
      • OFF_HOOK_WARNING_TONE

        public static final Signal.SignalValue OFF_HOOK_WARNING_TONE
        Signal value constant corresponding to off hook warning tone.
      • PREEMPTION_TONE_ON

        public static final Signal.SignalValue PREEMPTION_TONE_ON
        Signal value constant corresponding to pre-emption tone on.
      • TONES_OFF

        public static final Signal.SignalValue TONES_OFF
        Signal value constant corresponding to tones off.
      • ALERTING_ON_PATTERN_0

        public static final Signal.SignalValue ALERTING_ON_PATTERN_0
        Signal value constant corresponding to alerting on - pattern 0 (use is network dependent).
      • ALERTING_ON_PATTERN_1

        public static final Signal.SignalValue ALERTING_ON_PATTERN_1
        Signal value constant corresponding to alerting on - pattern 1 (use is network dependent).
      • ALERTING_ON_PATTERN_2

        public static final Signal.SignalValue ALERTING_ON_PATTERN_2
        Signal value constant corresponding to alerting on - pattern 2 (used for special/priority alerting).
      • ALERTING_ON_PATTERN_3

        public static final Signal.SignalValue ALERTING_ON_PATTERN_3
        Signal value constant corresponding to alerting on - pattern 3 (use is network dependent).
      • ALERTING_ON_PATTERN_4

        public static final Signal.SignalValue ALERTING_ON_PATTERN_4
        Signal value constant corresponding to alerting on - pattern 4 (use is network dependent).
      • ALERTING_ON_PATTERN_5

        public static final Signal.SignalValue ALERTING_ON_PATTERN_5
        Signal value constant corresponding to alerting on - pattern 5 (use is network dependent).
      • ALERTING_ON_PATTERN_6

        public static final Signal.SignalValue ALERTING_ON_PATTERN_6
        Signal value constant corresponding to alerting on - pattern 6 (use is network dependent).
      • ALERTING_ON_PATTERN_7

        public static final Signal.SignalValue ALERTING_ON_PATTERN_7
        Signal value constant corresponding to alerting on - pattern 7 (use is network dependent).
      • ALERTING_OFF

        public static final Signal.SignalValue ALERTING_OFF
        Signal value constant corresponding to alerting off.
      • MIN_VALUE

        public static final int MIN_VALUE
        Minimum value that a SignalValue instance may take (0).
        See Also:
        Constant Field Values
      • MAX_VALUE

        public static final int MAX_VALUE
        Maximum value that a SignalValue instance may take (255).
        See Also:
        Constant Field Values
    • Method Detail

      • fromValue

        public static Signal.SignalValue fromValue​(int value)
        Returns a SignalValue for a particular integer value.
        Returns:
        any known instance, or a new object
      • namedValues

        public static Signal.SignalValue[] namedValues()
        Returns an array containing all of SignalValue's named numbers.
        Returns:
        a new SignalValue[]