|
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.QueueResetAction
public class QueueResetAction
The QueueResetAction resets all statistical data of a given queue or all queues.
It is implemented in apps/app_queue.c
Available since Asterisk 1.6.
| Constructor Summary | |
|---|---|
QueueResetAction()
Creates a new QueueResetAction that resets statistical data of all queues. |
|
QueueResetAction(java.lang.String queue)
Creates a new QueueResetAction that resets statistical data of the given queue. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAction()
Returns the name of the action for example "Hangup". |
java.lang.String |
getQueue()
Returns the name of the queue to reset. |
void |
setQueue(java.lang.String queue)
Sets the name of the queue to reset. |
| 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 QueueResetAction()
public QueueResetAction(java.lang.String queue)
queue - the name of the queue to reset.| Method Detail |
|---|
public java.lang.String getAction()
ManagerAction
getAction in interface ManagerActiongetAction in class AbstractManagerActionpublic java.lang.String getQueue()
null for all queues.public void setQueue(java.lang.String queue)
queue - the name of the queue to reset or null for all queues.
|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||