org.mobicents.mscontrol
Enum MsLinkEventID
java.lang.Object
java.lang.Enum<MsLinkEventID>
org.mobicents.mscontrol.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
LINK_CREATED As soon as new MsLink is created
LINK_CREATED is fired
LINK_JOINED Fired as soon as join operation of MsLink is
successful
LINK_DROPPED Fired as soon as release operation of MsLink
is successful
LINK_FAILED Fired as soon as join operation of MsLink
fails
|
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 |
LINK_CREATED
public static final MsLinkEventID LINK_CREATED
LINK_CONNECTED
public static final MsLinkEventID LINK_CONNECTED
LINK_DISCONNECTED
public static final MsLinkEventID LINK_DISCONNECTED
LINK_FAILED
public static final MsLinkEventID LINK_FAILED
MODE_FULL_DUPLEX
public static final MsLinkEventID MODE_FULL_DUPLEX
MODE_HALF_DUPLEX
public static final MsLinkEventID MODE_HALF_DUPLEX
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.