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

32 lines
936 B
C#
Raw Normal View History

using System;
namespace Asterisk.NET.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(Event.ZapShowChannelsCompleteEvent);
}
/// <summary>
/// Creates a new ZapShowChannelsAction.
/// </summary>
public ZapShowChannelsAction()
{
}
}
}