TorOption

abstract class TorOption : Comparable<TorOption> , CharSequence(source)

Option models for those specified in the tor-manual and control-spec.

See also

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract class Attribute

Attributes specified via TorOption.attributes for the given option.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
object Companion
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
@JvmField
val attributes: Set<TorOption.Attribute>

kmp-tor specific list of attributes used for filtering and sorting.

Link copied to clipboard
@JvmField
val default: String

Tor's default value for this option.

Link copied to clipboard
@JvmField
val isCmdLineArg: Boolean

A flag for kmp-tor:runtime used to determine if a setting for this option should be used as an argument when starting the tor process, or via control connection with TorCmd.Config.Load.

Link copied to clipboard
@JvmField
val isUnique: Boolean

If expression of this option is allowed multiple times within a configuration or not.

Link copied to clipboard
override val length: Int
Link copied to clipboard
@get:JvmName(name = "name")
val name: String

The "name" of this option.

Functions

Link copied to clipboard
protected open fun buildable(): TorSetting.BuilderScope?

Factory function for a TorOption that, when implemented along with the ConfigureBuildable or ConfigureBuildableTry interface, makes the TorOption available for factory-like functionality via TorConfig.BuilderScope.configure and TorConfig.BuilderScope.tryConfigure

Link copied to clipboard
operator override fun compareTo(other: TorOption): Int
Link copied to clipboard
operator override fun get(index: Int): Char
Link copied to clipboard
operator fun plus(other: Any?): String
Link copied to clipboard
override fun subSequence(startIndex: Int, endIndex: Int): CharSequence