using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; namespace Tor { /// /// An enumerator containing the possible values specified against the PURPOSE parameter. /// public enum CircuitPurpose { /// /// No purpose parameter was specified. /// [Description(null)] None, /// /// The circuit is intended for traffic or fetching directory information. /// [Description("GENERAL")] General, /// /// The circuit is a client-side introduction point for a hidden service circuit. /// [Description("HS_CLIENT_INTRO")] HSClientIntro, /// /// The circuit is a client-side hidden service rendezvous circuit. /// [Description("HS_CLIENT_REND")] HSClientRend, /// /// The circuit is a server-side introduction point for a hidden service circuit. /// [Description("HS_SERVICE_INTRO")] HSServiceIntro, /// /// The circuit is a server-side hidden service rendezvous circuit. /// [Description("HS_SERVICE_REND")] HSServiceRend, /// /// The circuit is a test circuit to verify that the service can be used as a relay. /// [Description("TESTING")] Testing, /// /// The circuit was built by a controller. /// [Description("CONTROLLER")] Controller, /// /// The circuit was built to measure the time taken. /// [Description("MEASURE_TIMEOUT")] MeasureTimeout, } }