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 FormConstructor 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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getActionId, setActionId
public QueueSummaryAction()
public QueueSummaryAction(String queue)
queue
- name of the queue to retrieve the summary for.public String getAction()
ManagerAction
getAction
in interface ManagerAction
getAction
in class AbstractManagerAction
public Class<? extends ResponseEvent> getActionCompleteEventClass()
EventGeneratingAction
getActionCompleteEventClass
in interface EventGeneratingAction
ResponseEvent
public 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–2017. All rights reserved.