asternet/Asterisk.2013/Asterisk.NET/Manager/Action/StatusAction.cs

28 lines
889 B
C#
Raw Normal View History

using System;
2015-01-03 15:37:29 +00:00
using AsterNET.Manager.Event;
2014-01-08 14:16:39 +00:00
namespace AsterNET.Manager.Action
{
2015-01-03 15:37:29 +00:00
/// <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" />
2015-01-03 15:37:29 +00:00
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);
}
}
}