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

28 lines
954 B
C#

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