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

28 lines
954 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 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" />
2015-01-03 15:37:29 +00:00
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);
}
}
}