using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; namespace Tor.Events { /// /// An enumerator containing the list of events which can be monitored in the tor service. /// [Flags] public enum Event : int { /// /// The event was unrecognised. /// [Description(null)] Unknown = 0x000, /// /// An event raised when the circuit status is changed. /// [Description("CIRC")] Circuits = 0x001, /// /// An event raised when a stream status is changed. /// [Description("STREAM")] Streams = 0x002, /// /// An event raised when an OR connection status is changed. /// [Description("ORCONN")] ORConnections = 0x004, /// /// An event raised when the bandwidth used within the last second has changed. /// [Description("BW")] Bandwidth = 0x008, /// /// An event raised when the value of a configuration has changed. /// [Description("CONF_CHANGED")] ConfigChanged = 0x010, /// /// An event raised when a debug message is produced. /// [Description("DEBUG")] LogDebug = 0x020, /// /// An event raised when an information message is produced. /// [Description("INFO")] LogInfo = 0x040, /// /// An event raised when a notice message is produced. /// [Description("NOTICE")] LogNotice = 0x080, /// /// An event raised when a warning message is produced. /// [Description("WARN")] LogWarn = 0x100, /// /// An event raised when an error message is produced. /// [Description("ERR")] LogError = 0x200, } }