|
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<AgentState>
org.asteriskjava.live.AgentState
public enum AgentState
The lifecycle status of an AsteriskAgent.
| Enum Constant Summary | |
|---|---|
AGENT_IDLE
Agent is logged in and waiting for call. |
|
AGENT_LOGGEDOFF
Agent isn't logged in. |
|
AGENT_ONCALL
Agent is logged in and on a call. |
|
AGENT_RINGING
Agent is logged in and a call is waiting for connect. |
|
AGENT_UNKNOWN
Don't know anything about agent. |
|
| Method Summary | |
|---|---|
static AgentState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static AgentState[] |
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 AgentState AGENT_LOGGEDOFF
public static final AgentState AGENT_IDLE
public static final AgentState AGENT_ONCALL
public static final AgentState AGENT_UNKNOWN
public static final AgentState AGENT_RINGING
| Method Detail |
|---|
public static AgentState[] values()
for (AgentState c : AgentState.values()) System.out.println(c);
public static AgentState 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 | |||||||||