org.mobicents.mscontrol
Enum MsLinkEventCause
java.lang.Object
java.lang.Enum<MsLinkEventCause>
org.mobicents.mscontrol.MsLinkEventCause
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<MsLinkEventCause>
public enum MsLinkEventCause
- extends java.lang.Enum<MsLinkEventCause>
When the state of Mslink is changed MsLinkEvent is fired which has
MsLinkEventCause representing the cause of event
NORMAL Represents the MsLinkEvent is fired because the
operation is successful. For example join or release of MsLink is successful
FACILITY_FAILURE Represents the MsLinkEvent is fired
because join operation failed. For example Endpoint already has reached its
upper limit on number of Connections it can handle
ENDPOINT_UNKNOWN Represents the MsLinkEvent is fired
because join operation failed. For example lookup of Endpoint failed and
endpoint name passed is not correct
RESOURCE_UNAVAILABLE Represents the MsLinkEvent is fired
because join operation failed. For example creationg of Scoket failed while
creating the Connection
REMOTE_SDP_INVALID Represents the MsLinkEvent is fired
because join operation failed. For example SDP is invalid
REMOTE_SDP_MISSING Represents the MsLinkEvent is fired
because join operation failed. For example SDP is null
- Author:
- Oleg Kulikov
|
Method Summary |
static MsLinkEventCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static MsLinkEventCause[] |
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 |
NORMAL
public static final MsLinkEventCause NORMAL
FACILITY_FAILURE
public static final MsLinkEventCause FACILITY_FAILURE
ENDPOINT_UNKNOWN
public static final MsLinkEventCause ENDPOINT_UNKNOWN
RESOURCE_UNAVAILABLE
public static final MsLinkEventCause RESOURCE_UNAVAILABLE
REMOTE_SDP_INVALID
public static final MsLinkEventCause REMOTE_SDP_INVALID
REMOTE_SDP_MISSING
public static final MsLinkEventCause REMOTE_SDP_MISSING
values
public static final MsLinkEventCause[] 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(MsLinkEventCause c : MsLinkEventCause.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static MsLinkEventCause 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.