|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.asteriskjava.manager.action.AbstractManagerAction
org.asteriskjava.manager.action.ExtensionStateAction
public class ExtensionStateAction
The ExtensionStateAction queries the state of an extension in a given context. If the extension has a hint, will use devicestate to check the status of the device connected to the extension.
Constructor Summary | |
---|---|
ExtensionStateAction()
Creates a new ExtensionStateAction. |
|
ExtensionStateAction(java.lang.String exten,
java.lang.String context)
Creates a new ExtensionStateAction that queries the state of the given extension in the given context. |
Method Summary | |
---|---|
java.lang.String |
getAction()
Returns the name of this action, i.e. |
java.lang.String |
getContext()
Returns the name of the context that contains the extension to query. |
java.lang.String |
getExten()
Returns the extension to query. |
void |
setContext(java.lang.String context)
Sets the name of the context that contains the extension to query. |
void |
setExten(java.lang.String exten)
Sets the extension to query. |
Methods inherited from class org.asteriskjava.manager.action.AbstractManagerAction |
---|
getActionId, setActionId, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExtensionStateAction()
public ExtensionStateAction(java.lang.String exten, java.lang.String context)
exten
- the extension to query.context
- the name of the context that contains the extension to query.Method Detail |
---|
public java.lang.String getAction()
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public java.lang.String getExten()
public void setExten(java.lang.String exten)
exten
- the extension to query.public java.lang.String getContext()
public void setContext(java.lang.String context)
context
- the name of the context that contains the extension to query.
|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |