public class QueueSummaryAction extends AbstractManagerAction implements EventGeneratingAction
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 and Description |
|---|
QueueSummaryAction()
Creates a new QueueSummaryAction that retrieves the summary for all
queues.
|
QueueSummaryAction(String queue)
Creates a new QueueSummaryAction that retrieves the summary for the given
queue.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAction()
Returns the name of the action for example "Hangup".
|
Class<? extends ResponseEvent> |
getActionCompleteEventClass()
Returns the event type that indicates that Asterisk is finished sending
response events for this action.
|
String |
getQueue()
Returns the name of the queue to retrieve the summary for.
|
void |
setQueue(String queue)
Sets the name of the queue to retrieve the summary for.
|
getActionId, setActionId, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetActionId, setActionIdpublic QueueSummaryAction()
public QueueSummaryAction(String queue)
queue - name of the queue to retrieve the summary for.public String getAction()
ManagerActiongetAction in interface ManagerActiongetAction in class AbstractManagerActionpublic Class<? extends ResponseEvent> getActionCompleteEventClass()
EventGeneratingActiongetActionCompleteEventClass in interface EventGeneratingActionResponseEventpublic String getQueue()
null to retrieve the summary for all queues.public void setQueue(String queue)
queue - the name of the queue to retrieve the summary for or
null to retrieve the summary for all queues.Copyright © 2004–2024. All rights reserved.