asternet/Asterisk.2013/Asterisk.NET/Manager/Action/QueueStatusAction.cs

63 lines
1.8 KiB
C#
Raw Normal View History

using System;
2015-01-03 15:37:29 +00:00
using AsterNET.Manager.Event;
2014-01-08 14:16:39 +00:00
namespace AsterNET.Manager.Action
{
2015-01-03 15:37:29 +00:00
/// <summary>
/// The QueueStatusAction requests the state of all defined queues their members (agents) and entries (callers).<br />
/// 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.<br />
/// Since Asterisk 1.2 a QueueStatusCompleteEvent is sent to denote the end of the generated dump.<br />
/// This action is implemented in apps/app_queue.c
2015-01-03 15:37:29 +00:00
/// </summary>
/// <seealso cref="Manager.event.QueueParamsEvent" />
/// <seealso cref="Manager.event.QueueMemberEvent" />
/// <seealso cref="Manager.event.QueueEntryEvent" />
/// <seealso cref="Manager.event.QueueStatusCompleteEvent" />
public class QueueStatusAction : ManagerActionEvent
{
#region Action
/// <summary>
/// Get the name of this action, i.e. "QueueStatus".
/// </summary>
public override string Action
{
get { return "QueueStatus"; }
}
#endregion
#region Queue
/// <summary>
/// Get/Set the queue filter.
/// </summary>
public string Queue { get; set; }
#endregion
#region Member
/// <summary>
/// Get/Set the member filter.
/// </summary>
public string Member { get; set; }
#endregion
#region ActionCompleteEventClass
public override Type ActionCompleteEventClass()
{
return typeof (QueueStatusCompleteEvent);
}
2015-01-03 15:37:29 +00:00
#endregion
2015-01-03 15:37:29 +00:00
#region QueueStatusAction()
2015-01-03 15:37:29 +00:00
#endregion
}
}