using System;
namespace AsterNET.Manager.Action
{
///
/// 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
///
///
///
///
///
public class QueueStatusAction : ManagerActionEvent
{
private string queue;
private string member;
#region Action
///
/// Get the name of this action, i.e. "QueueStatus".
///
public override string Action
{
get { return "QueueStatus"; }
}
#endregion
#region Queue
///
/// Get/Set the queue filter.
///
public string Queue
{
get { return queue; }
set { this.queue = value; }
}
#endregion
#region Member
///
/// Get/Set the member filter.
///
public string Member
{
get { return member; }
set { this.member = value; }
}
#endregion
#region ActionCompleteEventClass
public override Type ActionCompleteEventClass()
{
return typeof(Event.QueueStatusCompleteEvent);
}
#endregion
#region QueueStatusAction()
/// Creates a new QueueStatusAction.
public QueueStatusAction()
{
}
#endregion
}
}