org.mobicents.media.msc.common.events
Enum MsConnectionEventID
java.lang.Object
java.lang.Enum<MsConnectionEventID>
org.mobicents.media.msc.common.events.MsConnectionEventID
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<MsConnectionEventID>
public enum MsConnectionEventID
- extends java.lang.Enum<MsConnectionEventID>
Whenever the state of MsConnection changes MsConnectionEvent is fired and
change in state is represented by MsConnectionEventID
|
Enum Constant Summary |
CONNECTION_CONNECTED
|
CONNECTION_CREATED
|
CONNECTION_DELETED
|
CONNECTION_DISCONNECTED
|
CONNECTION_FAILED
|
CONNECTION_INITIALIZED
CONNECTION_INITIALIZED As soon as new MsConnection is
created CONNECTION_INITIALIZED is fired
CONNECTION_CREATED Fired as soon as creation of
org.mobicents.media.server.spi.Connection (which represents actual
connection) is successful
CONNECTION_MODIFIED Fired as soon as modification of
MsConnection is successful
CONNECTION_DELETED Fired as soon as MsConnection is
successfully released
CONNECTION_DELETED Fired as soon as MsConnection is
successfully released
TX_FAILED Fired as soon as creation of MsConnection
fails for reason's specified in MsConnectionEventCause. |
CONNECTION_MODIFIED
|
TX_FAILED
Deprecated. |
|
Method Summary |
static MsConnectionEventID |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MsConnectionEventID[] |
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 |
CONNECTION_INITIALIZED
public static final MsConnectionEventID CONNECTION_INITIALIZED
CONNECTION_INITIALIZED As soon as new MsConnection is
created CONNECTION_INITIALIZED is fired
CONNECTION_CREATED Fired as soon as creation of
org.mobicents.media.server.spi.Connection (which represents actual
connection) is successful
CONNECTION_MODIFIED Fired as soon as modification of
MsConnection is successful
CONNECTION_DELETED Fired as soon as MsConnection is
successfully released
CONNECTION_DELETED Fired as soon as MsConnection is
successfully released
TX_FAILED Fired as soon as creation of MsConnection
fails for reason's specified in MsConnectionEventCause. This is
deprecated and will be replaced by CONNECTION_FAILED
CONNECTION_CREATED
public static final MsConnectionEventID CONNECTION_CREATED
CONNECTION_MODIFIED
public static final MsConnectionEventID CONNECTION_MODIFIED
CONNECTION_DELETED
public static final MsConnectionEventID CONNECTION_DELETED
TX_FAILED
@Deprecated
public static final MsConnectionEventID TX_FAILED
- Deprecated.
CONNECTION_CONNECTED
public static final MsConnectionEventID CONNECTION_CONNECTED
CONNECTION_FAILED
public static final MsConnectionEventID CONNECTION_FAILED
CONNECTION_DISCONNECTED
public static final MsConnectionEventID CONNECTION_DISCONNECTED
values
public static final MsConnectionEventID[] 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(MsConnectionEventID c : MsConnectionEventID.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static MsConnectionEventID 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.