LineItem

class LineItem

Holder of a single configuration line item.

e.g.

|    option    | argument |            optionals             |
__SocksPort      9050       OnionTrafficOnly IsolateDestPort
DisableNetwork   1
RunAsDaemon      0

Properties

Link copied to clipboard

The argument for this TorOption. Will be non-blank and single line.

Link copied to clipboard
Link copied to clipboard

If this LineItem is a TorOption with the attribute TorOption.Attribute.FILE.

Link copied to clipboard
Link copied to clipboard

If the LineItem is a TorOption that is "Non-Persistent", indicative of the TorOption.name starting with two _ characters.

Link copied to clipboard

If this LineItem is a TorOption with the attribute TorOption.Attribute.PORT, and is configured with an argument of 0, auto, or a Port.value.

Link copied to clipboard

If this LineItem is a TorOption with the attribute TorOption.Attribute.PORT, and is configured as auto.

Link copied to clipboard

If this LineItem is a TorOption with the attribute TorOption.Attribute.PORT, and is configured as 0.

Link copied to clipboard

If this LineItem is a TorOption with the attribute TorOption.Attribute.PORT, and is configured with a distinct port, such as 9050 (i.e. not 0 or auto).

Link copied to clipboard

If this LineItem is a TorOption with the attribute TorOption.Attribute.UNIX_SOCKET, and is configured as such.

Link copied to clipboard

The TorOption for this single line expression.

Link copied to clipboard

Optional things for this TorOption. They are appended to the option and argument string using a single space deliminator.