org.mobicents.media.msc.common.events
Enum MsLinkEventID

java.lang.Object
  extended by java.lang.Enum<MsLinkEventID>
      extended by org.mobicents.media.msc.common.events.MsLinkEventID
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MsLinkEventID>

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

Whenever the state of MsLink changes MsLinkEvent is fired and change in state is represented by MsLinkEventID


Enum Constant Summary
LINK_CREATED
           
LINK_DROPPED
           
LINK_FAILED
           
LINK_JOINED
           
 
Method Summary
static MsLinkEventID valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MsLinkEventID[] 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

LINK_CREATED

public static final MsLinkEventID LINK_CREATED

LINK_JOINED

public static final MsLinkEventID LINK_JOINED

LINK_DROPPED

public static final MsLinkEventID LINK_DROPPED

LINK_FAILED

public static final MsLinkEventID LINK_FAILED
Method Detail

values

public static final MsLinkEventID[] 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(MsLinkEventID c : MsLinkEventID.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static MsLinkEventID 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.