using System;
namespace Asterisk.NET.Manager.Action
{
///
/// The AgentsAction requests the state of all agents.
/// For each agent an AgentsEvent is generated.
/// After the state of all agents has been reported an AgentsCompleteEvent is generated.
/// Available since Asterisk 1.2
///
///
///
public class AgentsAction : ManagerActionEvent
{
#region Action
///
/// Get the name of this action, i.e. "Agents".
///
override public string Action
{
get { return "Agents"; }
}
#endregion
#region ActionCompleteEventClass
public override Type ActionCompleteEventClass()
{
return typeof(Event.AgentsCompleteEvent);
}
#endregion
#region AgentsAction()
///
/// Creates a new AgentsAction.
///
public AgentsAction()
{
}
#endregion
}
}