namespace AsterNET.Manager.Action { /// /// With the EventsAction you can specify what kind of events should be sent to this manager connection. /// public class EventsAction : ManagerAction { /// /// Creates a new empty EventsAction. /// public EventsAction() { } /// /// Creates a new EventsAction that applies the given event mask to the current manager connection. /// /// /// the event mask.
/// Set to "on" if all events should be send, "off" if not events should be sent /// or a combination of "system", "call" and "log" (separated by ',') to specify what kind of events should be sent. /// public EventsAction(string eventMask) { EventMask = eventMask; } /// /// Get the name of this action, i.e. "Events". /// public override string Action { get { return "Events"; } } /// /// Get/Set the event mask.
/// Set to "on" if all events should be send, "off" if not events should be /// sent or a combination of "system", "call" and "log" (separated by ',') to /// specify what kind of events should be sent. ///
public string EventMask { get; set; } } }