using System; using AsterNET.Manager.Event; namespace AsterNET.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". /// public override string Action { get { return "Agents"; } } #endregion #region ActionCompleteEventClass public override Type ActionCompleteEventClass() { return typeof (AgentsCompleteEvent); } #endregion #region AgentsAction() #endregion } }