State

enum State : Enum<TorApi.State> (source)

Entries

Link copied to clipboard

Nothing happening. Free to call torRunMain.

Link copied to clipboard

torRunMain is awaiting return.

Link copied to clipboard

Tor's tor_run_main function is running in its thread.

Link copied to clipboard

Tor's tor_run_main function has returned and a call to terminateAndAwaitResult is needed to clean up resources.

Properties

Link copied to clipboard
val entries: EnumEntries<TorApi.State>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard
fun valueOf(value: String): TorApi.State

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<TorApi.State>

Returns an array containing the constants of this enum type, in the order they're declared.