|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ChannelState>
org.asteriskjava.live.ChannelState
public enum ChannelState
The lifecycle status of an AsteriskChannel.
| Enum Constant Summary | |
|---|---|
BUSY
|
|
DIALING
|
|
DOWN
The initial state of the channel when it is not yet in use. |
|
HUNGUP
The channel has been hung up. |
|
OFF_HOOK
|
|
RING
|
|
RINGING
|
|
RSRVD
|
|
UP
|
|
| Method Summary | |
|---|---|
static ChannelState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ChannelState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ChannelState DOWN
public static final ChannelState OFF_HOOK
public static final ChannelState DIALING
public static final ChannelState RING
public static final ChannelState RINGING
public static final ChannelState UP
public static final ChannelState BUSY
public static final ChannelState RSRVD
public static final ChannelState HUNGUP
| Method Detail |
|---|
public static ChannelState[] values()
for (ChannelState c : ChannelState.values()) System.out.println(c);
public static ChannelState valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||