org.mobicents.media.msc.common.events
Enum MsSessionEventCause
java.lang.Object
java.lang.Enum<MsSessionEventCause>
org.mobicents.media.msc.common.events.MsSessionEventCause
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<MsSessionEventCause>
public enum MsSessionEventCause
- extends java.lang.Enum<MsSessionEventCause>
This enum is for (org.mobicents.mscontrol.MsSession events firing
when STATE of MsSession changes
CONNECTION_CREATED indicates the STATE of MsSession is changed because createNetworkConnection called
CONNECTION_DROPPED indicates the STATE of MsSession is changed because drop called
LINK_CREATED indicates the STATE of MsSession is changed because createLink called
LINK_DROPPED indicates the STATE of MsSession is changed because dropLink called
- Author:
- amit.bhayani
|
Method Summary |
static MsSessionEventCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MsSessionEventCause[] |
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 MsSessionEventCause SESSION_CREATED
CONNECTION_CREATED
public static final MsSessionEventCause CONNECTION_CREATED
CONNECTION_DROPPED
public static final MsSessionEventCause CONNECTION_DROPPED
LINK_CREATED
public static final MsSessionEventCause LINK_CREATED
LINK_DROPPED
public static final MsSessionEventCause LINK_DROPPED
values
public static final MsSessionEventCause[] 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(MsSessionEventCause c : MsSessionEventCause.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static MsSessionEventCause 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.