public class QueueStatusAction extends AbstractManagerAction implements EventGeneratingAction
For each queue a QueueParamsEvent is generated, followed by a QueueMemberEvent for each member of that queue and a QueueEntryEvent for each entry in the queue.
Since Asterisk 1.2 a QueueStatusCompleteEvent is sent to denote the end of the generated dump.
This action is implemented in apps/app_queue.c
QueueParamsEvent,
QueueMemberEvent,
QueueEntryEvent,
QueueStatusCompleteEvent,
Serialized Form| Constructor and Description |
|---|
QueueStatusAction()
Creates a new QueueStatusAction.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAction()
Returns the name of this action, i.e.
|
Class<? extends ResponseEvent> |
getActionCompleteEventClass()
Returns the event type that indicates that Asterisk is finished sending
response events for this action.
|
String |
getMember()
Returns the member filter.
|
String |
getQueue()
Returns the queue filter.
|
void |
setMember(String member)
Sets the member filter.
|
void |
setQueue(String queue)
Sets the queue filter.
|
getActionId, setActionId, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetActionId, setActionIdpublic String getAction()
getAction in interface ManagerActiongetAction in class AbstractManagerActionpublic String getQueue()
public void setQueue(String queue)
queue - the queue filter.public String getMember()
public void setMember(String member)
member - the member filter.public Class<? extends ResponseEvent> getActionCompleteEventClass()
EventGeneratingActiongetActionCompleteEventClass in interface EventGeneratingActionResponseEventCopyright © 2004–2021. All rights reserved.