org.mobicents.mscontrol
Enum MsSessionEventID
java.lang.Object
java.lang.Enum<MsSessionEventID>
org.mobicents.mscontrol.MsSessionEventID
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<MsSessionEventID>
public enum MsSessionEventID
- extends java.lang.Enum<MsSessionEventID>
- SESSION_CREATED indicates that the MsSession object has been created and is in the MsSessionState.IDLE state.
- SESSION_ACTIVE indicates that the state of the MsSession object has changed to MsSessionState.ACTIVE
- SESSION_INVALID indicates that the state of the MsSession object has changed to MsSessionState.INVALID
|
Enum Constant Summary |
SESSION_ACTIVE
|
SESSION_CREATED
SESSION_CREATED indicates that the MsSession object has been created and is in the MsSessionState.IDLE state.
SESSION_ACTIVE indicates that the state of the MsSession object has changed to MsSessionState.ACTIVE
SESSION_INVALID indicates that the state of the MsSession object has changed to MsSessionState.INVALID
|
SESSION_INVALID
|
|
Method Summary |
static MsSessionEventID |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MsSessionEventID[] |
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 |
SESSION_CREATED
public static final MsSessionEventID SESSION_CREATED
- SESSION_CREATED indicates that the MsSession object has been created and is in the MsSessionState.IDLE state.
- SESSION_ACTIVE indicates that the state of the MsSession object has changed to MsSessionState.ACTIVE
- SESSION_INVALID indicates that the state of the MsSession object has changed to MsSessionState.INVALID
SESSION_ACTIVE
public static final MsSessionEventID SESSION_ACTIVE
SESSION_INVALID
public static final MsSessionEventID SESSION_INVALID
values
public static final MsSessionEventID[] 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(MsSessionEventID c : MsSessionEventID.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static MsSessionEventID 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.