|
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.ModuleCheckAction
public class ModuleCheckAction
The ModuleLoadAction checks if an Asterisk module is loaded and reports its version.
The ModuleLoadAction returns a ModuleCheckResponse
with
the version of the module if the module is loaded and a ManagerError
if the module is not loaded.
Available since Asterisk 1.6
Constructor Summary | |
---|---|
ModuleCheckAction()
Creates a new ModuleCheckAction. |
|
ModuleCheckAction(java.lang.String module)
Creates a new ModuleCheckAction with the given parameters. |
Method Summary | |
---|---|
java.lang.String |
getAction()
Returns the name of this action, i.e. |
java.lang.String |
getModule()
Returns the name of the module to check. |
void |
setModule(java.lang.String module)
Sets the name of the module (including or not including the ".so" extension) to check. |
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 ModuleCheckAction()
public ModuleCheckAction(java.lang.String module)
module
- the name of the module (including or not including the ".so" extension).Method Detail |
---|
public java.lang.String getAction()
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public java.lang.String getModule()
public void setModule(java.lang.String module)
module
- the name of the module (including or not including the ".so" extension) to check.
|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |