org.mobicents.media.server.impl.common.events
Enum EventCause

java.lang.Object
  extended by java.lang.Enum<EventCause>
      extended by org.mobicents.media.server.impl.common.events.EventCause
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<EventCause>

public enum EventCause
extends java.lang.Enum<EventCause>


Enum Constant Summary
ANNOUNCEMENT
           
DTMF_DIGIT_0
           
DTMF_DIGIT_1
           
DTMF_DIGIT_2
           
DTMF_DIGIT_3
           
DTMF_DIGIT_4
           
DTMF_DIGIT_5
           
DTMF_DIGIT_6
           
DTMF_DIGIT_7
           
DTMF_DIGIT_8
           
DTMF_DIGIT_9
           
DTMF_DIGIT_A
           
DTMF_DIGIT_B
           
DTMF_DIGIT_C
           
DTMF_DIGIT_D
           
DTMF_DIGIT_NUM
           
DTMF_DIGIT_STAR
           
DTMF_SEQ
           
END_OF_MEDIA
           
FACILITY_FAILURE
           
NORMAL
           
 
Method Summary
static EventCause valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static EventCause[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NORMAL

public static final EventCause NORMAL

ANNOUNCEMENT

public static final EventCause ANNOUNCEMENT

FACILITY_FAILURE

public static final EventCause FACILITY_FAILURE

END_OF_MEDIA

public static final EventCause END_OF_MEDIA

DTMF_DIGIT_0

public static final EventCause DTMF_DIGIT_0

DTMF_DIGIT_1

public static final EventCause DTMF_DIGIT_1

DTMF_DIGIT_2

public static final EventCause DTMF_DIGIT_2

DTMF_DIGIT_3

public static final EventCause DTMF_DIGIT_3

DTMF_DIGIT_4

public static final EventCause DTMF_DIGIT_4

DTMF_DIGIT_5

public static final EventCause DTMF_DIGIT_5

DTMF_DIGIT_6

public static final EventCause DTMF_DIGIT_6

DTMF_DIGIT_7

public static final EventCause DTMF_DIGIT_7

DTMF_DIGIT_8

public static final EventCause DTMF_DIGIT_8

DTMF_DIGIT_9

public static final EventCause DTMF_DIGIT_9

DTMF_DIGIT_A

public static final EventCause DTMF_DIGIT_A

DTMF_DIGIT_B

public static final EventCause DTMF_DIGIT_B

DTMF_DIGIT_C

public static final EventCause DTMF_DIGIT_C

DTMF_DIGIT_D

public static final EventCause DTMF_DIGIT_D

DTMF_DIGIT_STAR

public static final EventCause DTMF_DIGIT_STAR

DTMF_DIGIT_NUM

public static final EventCause DTMF_DIGIT_NUM

DTMF_SEQ

public static final EventCause DTMF_SEQ
Method Detail

values

public static final EventCause[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(EventCause c : EventCause.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static EventCause valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2009. All Rights Reserved.