org.mobicents.media.msc.common.events
Enum MsConnectionEventCause
java.lang.Object
java.lang.Enum<MsConnectionEventCause>
org.mobicents.media.msc.common.events.MsConnectionEventCause
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<MsConnectionEventCause>
public enum MsConnectionEventCause
- extends java.lang.Enum<MsConnectionEventCause>
When the state of MsConnection is changed MsConnectionEvent is fired which
has MsConnectionEventCause representing the cause of event
NORMAL Represents the MsConnectionEvent is fired because
the operation is successful. For example creation of MsConnection
FACILITY_FAILURE Represents the MsConnectionEvent
creation failed due to facility failure like Endpoint already has reached its
maximum number of MsConnection that it can handle
RESOURCE_UNAVAILABLE Represents the MsConnectionEvent
creation failed due to facility failure like Scoket creation failed while
creatng Connection
REMOTE_SDP_INVALID Represents the MsConnectionEvent
creation failed due to SDP passed is invalid
REMOTE_SDP_MISSING Represents the MsConnectionEvent
creation failed due to SDP passed is null
- Author:
- Oleg Kulikov
| 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 |
NORMAL
public static final MsConnectionEventCause NORMAL
FACILITY_FAILURE
public static final MsConnectionEventCause FACILITY_FAILURE
ENDPOINT_UNKNOWN
public static final MsConnectionEventCause ENDPOINT_UNKNOWN
RESOURCE_UNAVAILABLE
public static final MsConnectionEventCause RESOURCE_UNAVAILABLE
REMOTE_SDP_INVALID
public static final MsConnectionEventCause REMOTE_SDP_INVALID
REMOTE_SDP_MISSING
public static final MsConnectionEventCause REMOTE_SDP_MISSING
values
public static final MsConnectionEventCause[] 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(MsConnectionEventCause c : MsConnectionEventCause.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static MsConnectionEventCause 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.