|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.asterisk.manager.action.AbstractManagerAction
net.sf.asterisk.manager.action.QueueStatusAction
public class QueueStatusAction
The QueueStatusAction requests the state of all defined queues their members
(agents) and entries (callers).
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 Summary | |
|---|---|
QueueStatusAction()
Creates a new QueueStatusAction. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAction()
Returns the name of this action, i.e. |
java.lang.Class |
getActionCompleteEventClass()
Returns the event type that indicates that Asterisk is finished sending response events for this action. |
java.lang.String |
getMember()
Returns the member filter. |
java.lang.String |
getQueue()
Returns the queue filter. |
void |
setMember(java.lang.String member)
Sets the member filter. |
void |
setQueue(java.lang.String queue)
Sets the queue filter. |
| Methods inherited from class net.sf.asterisk.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 net.sf.asterisk.manager.action.ManagerAction |
|---|
getActionId, setActionId |
| Constructor Detail |
|---|
public QueueStatusAction()
| Method Detail |
|---|
public java.lang.String getAction()
getAction in interface ManagerActiongetAction in class AbstractManagerActionpublic java.lang.String getQueue()
public void setQueue(java.lang.String queue)
queue - the queue filter.public java.lang.String getMember()
public void setMember(java.lang.String member)
member - the member filter.public java.lang.Class getActionCompleteEventClass()
EventGeneratingAction
getActionCompleteEventClass in interface EventGeneratingActionResponseEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||