using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
namespace Tor
{
///
/// An enumerator containing the different possible statuses for a stream.
///
public enum StreamStatus
{
///
/// The stream status was not provided.
///
[Description(null)]
None,
///
/// A new request to connect.
///
[Description("NEW")]
New,
///
/// A new request to resolve an address.
///
[Description("NEWRESOLVE")]
NewResolve,
///
/// An address was re-mapped to another.
///
[Description("REMAP")]
Remap,
///
/// A connect cell was sent along a circuit.
///
[Description("SENTCONNECT")]
SentConnect,
///
/// A resolve cell was sent along the circuit.
///
[Description("SENTRESOLVE")]
SentResolve,
///
/// A reply was received and the stream was established.
///
[Description("SUCCEEDED")]
Succeeded,
///
/// The stream failed and cannot be retried.
///
[Description("FAILED")]
Failed,
///
/// The stream is closed.
///
[Description("CLOSED")]
Closed,
///
/// The stream was detached from a circuit, but can be retried.
///
[Description("DETACHED")]
Detached,
}
}