2013-01-18 15:55:50 +00:00
|
|
|
using System;
|
2015-01-03 15:37:29 +00:00
|
|
|
using AsterNET.Manager.Event;
|
2013-01-18 15:55:50 +00:00
|
|
|
|
2014-01-08 14:16:39 +00:00
|
|
|
namespace AsterNET.Manager.Action
|
2013-01-18 15:55:50 +00:00
|
|
|
{
|
2015-01-03 15:37:29 +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>
|
|
|
|
/// <seealso cref="AsterNET.Manager.Event.AgentsEvent" />
|
|
|
|
/// <seealso cref="AsterNET.Manager.Event.AgentsCompleteEvent" />
|
|
|
|
public class AgentsAction : ManagerActionEvent
|
|
|
|
{
|
|
|
|
#region Action
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Get the name of this action, i.e. "Agents".
|
|
|
|
/// </summary>
|
|
|
|
public override string Action
|
|
|
|
{
|
|
|
|
get { return "Agents"; }
|
|
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region ActionCompleteEventClass
|
|
|
|
|
|
|
|
public override Type ActionCompleteEventClass()
|
|
|
|
{
|
|
|
|
return typeof (AgentsCompleteEvent);
|
|
|
|
}
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
#region AgentsAction()
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
}
|
2013-01-18 15:55:50 +00:00
|
|
|
}
|