using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
namespace Tor
{
///
/// An enumerator containing the possible values for a field which uses the REASON parameter.
///
public enum CircuitReason
{
///
/// No reason was provided.
///
[Description(null)]
None,
///
/// There was a violation in the Tor protocol.
///
[Description("TORPROTOCOL")]
TorProtocol,
///
/// There was an internal error.
///
[Description("INTERNAL")]
Internal,
///
/// Requested by the client via a TRUNCATE command.
///
[Description("REQUESTED")]
Requested,
///
/// The relay is currently hibernating.
///
[Description("HIBERNATING")]
Hibernating,
///
/// The relay is out of memory, sockets, or circuit IDs.
///
[Description("RESOURCELIMIT")]
ResourceLimit,
///
/// Unable to contact the relay.
///
[Description("CONNECTFAILED")]
ConnectFailed,
///
/// The relay had the wrong OR identification.
///
[Description("OR_IDENTITY")]
ORIdentity,
///
/// The connection failed after being established.
///
[Description("OR_CONN_CLOSED")]
ORConnectionClosed,
///
/// The circuit has expired.
///
[Description("FINISHED")]
Finished,
///
/// The circuit construction timed out.
///
[Description("TIMEOUT")]
Timeout,
///
/// The circuit was unexpectedly closed.
///
[Description("DESTROYED")]
Destroyed,
///
/// There are not enough relays to make a circuit.
///
[Description("NOPATH")]
NoPath,
///
/// The requested hidden service does not exist.
///
[Description("NOSUCHSERVICE")]
NoSuchService,
///
/// The circuit construction timed out, except that the circuit was left open for measurement purposes.
///
[Description("MEASUREMENT_EXPIRED")]
MeasurementExpired,
}
}