using System; namespace AsterNET.Manager.Action { /// /// The StopMonitorAction ends monitoring (recording) a channel.
/// It is implemented in res/res_monitor.c ///
public class StopMonitorAction : ManagerAction { /// The name of the channel to end monitoring. private string channel; #region Action /// /// Get the name of this action, i.e. "StopMonitor". /// override public string Action { get { return "StopMonitor"; } } #endregion #region Channel /// /// Get/Set the name of the channel to end monitoring.
/// This property is mandatory. ///
public string Channel { get { return this.channel; } set { this.channel = value; } } #endregion #region StopMonitorAction() /// /// Creates a new empty StopMonitorAction. /// public StopMonitorAction() { } #endregion #region StopMonitorAction(string channel) /// /// Creates a new StopMonitorAction that ends monitoring of the given channel. /// public StopMonitorAction(string channel) { this.channel = channel; } #endregion } }