2013-01-18 15:55:50 +00:00
|
|
|
using System;
|
|
|
|
|
2014-01-08 14:16:39 +00:00
|
|
|
namespace AsterNET.Manager.Action
|
2013-01-18 15:55:50 +00:00
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// The AgentsAction requests the state of all agents.<br/>
|
|
|
|
/// For each agent an AgentsEvent is generated.
|
|
|
|
/// After the state of all agents has been reported an AgentsCompleteEvent is generated.<br/>
|
|
|
|
/// Available since Asterisk 1.2
|
|
|
|
/// </summary>
|
2014-01-08 14:16:39 +00:00
|
|
|
/// <seealso cref="AsterNET.Manager.Event.AgentsEvent" />
|
|
|
|
/// <seealso cref="AsterNET.Manager.Event.AgentsCompleteEvent" />
|
2013-01-18 15:55:50 +00:00
|
|
|
public class AgentsAction : ManagerActionEvent
|
|
|
|
{
|
|
|
|
#region Action
|
|
|
|
/// <summary>
|
|
|
|
/// Get the name of this action, i.e. "Agents".
|
|
|
|
/// </summary>
|
|
|
|
override public string Action
|
|
|
|
{
|
|
|
|
get { return "Agents"; }
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region ActionCompleteEventClass
|
|
|
|
public override Type ActionCompleteEventClass()
|
|
|
|
{
|
|
|
|
return typeof(Event.AgentsCompleteEvent);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region AgentsAction()
|
|
|
|
/// <summary>
|
|
|
|
/// Creates a new AgentsAction.
|
|
|
|
/// </summary>
|
|
|
|
public AgentsAction()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
}
|
|
|
|
}
|