asternet/Asterisk.2013/Asterisk.NET/Manager/Action/StatusAction.cs
2015-01-03 15:37:29 +00:00

28 lines
889 B
C#

using System;
using AsterNET.Manager.Event;
namespace AsterNET.Manager.Action
{
/// <summary>
/// The StatusAction requests the state of all active channels.<br />
/// For each active channel a StatusEvent is generated. After the state of all
/// channels has been reported a StatusCompleteEvent is generated.
/// </summary>
/// <seealso cref="Manager.event.StatusEvent" />
/// <seealso cref="Manager.event.StatusCompleteEvent" />
public class StatusAction : ManagerActionEvent
{
/// <summary>
/// Get the name of this action, i.e. "Status".
/// </summary>
public override string Action
{
get { return "Status"; }
}
public override Type ActionCompleteEventClass()
{
return typeof (StatusCompleteEvent);
}
}
}