org.mobicents.mscontrol
Enum MsSessionEventCause

java.lang.Object
  extended by java.lang.Enum<MsSessionEventCause>
      extended by org.mobicents.mscontrol.MsSessionEventCause
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MsSessionEventCause>

public enum MsSessionEventCause
extends java.lang.Enum<MsSessionEventCause>

This enum is for MsSession events firing when STATE of MsSession changes

Author:
amit.bhayani

Enum Constant Summary
CONNECTION_CREATED
           
CONNECTION_DROPPED
           
LINK_CREATED
           
LINK_DROPPED
           
SESSION_CREATED
           
 
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
 

Enum Constant Detail

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

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