|
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.QueueSummaryAction
public class QueueSummaryAction
The QueueSummaryAction retrieves the summary for one or all queues.
Available in Asterisk post-1.4.
This action has been added by http://bugs.digium.com/view.php?id=8035.
QueueSummaryEvent,
QueueSummaryCompleteEvent,
Serialized Form| Constructor Summary | |
|---|---|
QueueSummaryAction()
Creates a new QueueSummaryAction that retrieves the summary for all queues. |
|
QueueSummaryAction(java.lang.String queue)
Creates a new QueueSummaryAction that retrieves the summary for the given queue. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAction()
Returns the name of the action for example "Hangup". |
java.lang.Class<? extends ResponseEvent> |
getActionCompleteEventClass()
Returns the event type that indicates that Asterisk is finished sending response events for this action. |
java.lang.String |
getQueue()
Returns the name of the queue to retrieve the summary for. |
void |
setQueue(java.lang.String queue)
Sets the name of the queue to retrieve the summary for. |
| 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 |
| Methods inherited from interface org.asteriskjava.manager.action.ManagerAction |
|---|
getActionId, setActionId |
| Constructor Detail |
|---|
public QueueSummaryAction()
public QueueSummaryAction(java.lang.String queue)
queue - name of the queue to retrieve the summary for.| Method Detail |
|---|
public java.lang.String getAction()
ManagerAction
getAction in interface ManagerActiongetAction in class AbstractManagerActionpublic java.lang.Class<? extends ResponseEvent> getActionCompleteEventClass()
EventGeneratingAction
getActionCompleteEventClass in interface EventGeneratingActionResponseEventpublic java.lang.String getQueue()
null to retrieve the summary for all queues.public void setQueue(java.lang.String queue)
queue - the name of the queue to retrieve the summary for or
null to retrieve the summary for all queues.
|
Asterisk-Java | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||