org.mobicents.mscontrol
Enum MsConnectionEventCause

java.lang.Object
  extended by java.lang.Enum<MsConnectionEventCause>
      extended by org.mobicents.mscontrol.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

Author:
Oleg Kulikov

Enum Constant Summary
ENDPOINT_UNKNOWN
           
FACILITY_FAILURE
           
NORMAL
           
REMOTE_SDP_INVALID
           
REMOTE_SDP_MISSING
           
RESOURCE_UNAVAILABLE
           
 
Method Summary
static MsConnectionEventCause valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MsConnectionEventCause[] 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
 

Enum Constant Detail

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
Method Detail

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 © 2008. All Rights Reserved.