Constant Field Values (SelekTOR Java Documentation)
Date: 2017-04-14

# Constant Field Values

## Contents

- client.*
- lib.*

## client.*

- client.GuardNodeDialog
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `APPLY` | `1`
  `public static final int` | `CANCEL` | `0`
  `public static final int` | `RESET` | `2`

- client.NodeItem
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `TESTSTATUS_FAILED` | `2`
  `public static final int` | `TESTSTATUS_PASSED` | `1`
  `public static final int` | `TESTSTATUS_UNKNOWN` | `0`
  `public static final int` | `TYPE_EXIT` | `1`
  `public static final int` | `TYPE_GUARD` | `2`

- client.NodeList
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `NODELIST_BUILDING` | `1`
  `public static final int` | `NODELIST_BUILT` | `2`
  `public static final int` | `NODELIST_FAILED` | `3`
  `public static final int` | `NODELIST_IDLE` | `0`
  `public static final int` | `NODELIST_TERMINATED` | `4`

- client.PacFactory
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final java.lang.String` | `FILEUSER` | `"user"`
  `public static final int` | `PROXY_ALL` | `2`
  `public static final int` | `PROXY_DISABLED` | `0`
  `public static final int` | `PROXY_PATTERN` | `1`

- client.PatternsEditor
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `APPLY` | `1`
  `public static final int` | `CANCEL` | `0`

- client.PrefsDialog
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `APPLY` | `1`
  `public static final int` | `CANCEL` | `0`
  `public static final int` | `RESET` | `2`

- client.QuickAddDialog
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `APPLY` | `1`
  `public static final int` | `CANCEL` | `0`
  `public static final int` | `RESET` | `2`

- client.TorCircuit
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `FINGER` | `0`
  `public static final int` | `NICKNAME` | `1`

- client.TorController
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `EVENT_ABORTED` | `22`
  `public static final int` | `EVENT_CIRCUIT_BUILT` | `17`
  `public static final int` | `EVENT_CIRCUIT_CHANGED` | `21`
  `public static final int` | `EVENT_CIRCUIT_FAILED` | `18`
  `public static final int` | `EVENT_CIRCUITS_BUILT` | `15`
  `public static final int` | `EVENT_CIRCUITS_FAILED` | `16`
  `public static final int` | `EVENT_LATENCY_DONE` | `19`
  `public static final int` | `EVENT_TESTING_DONE` | `20`
  `public static final long` | `LATENCY_FAIL` | `9999L`
  `public static final int` | `NODE_EXIT` | `2`
  `public static final int` | `NODE_GUARD` | `0`
  `public static final int` | `NODE_MIDDLE` | `1`
  `public static final int` | `STATUS_BOOTING` | `1`
  `public static final int` | `STATUS_CIRCUIT_CREATION` | `3`
  `public static final int` | `STATUS_DEAD` | `0`
  `public static final int` | `STATUS_IDLE` | `2`
  `public static final int` | `STATUS_LATENCY_CHECKING` | `4`
  `public static final int` | `STREAM_IP` | `5`

- client.TorProcess
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final java.lang.String` | `EMPTYSTRING` | `""`
  `public static final int` | `LOG_DEBUG` | `0`
  `public static final int` | `LOG_INFO` | `1`
  `public static final int` | `LOG_NOTICE` | `2`
  `public static final int` | `TOR_BOOT_ERROR` | `3`
  `public static final int` | `TOR_BOOT_FATAL` | `2`
  `public static final int` | `TOR_BOOT_TIMEOUT` | `1`
  `public static final int` | `TOR_BOOTED` | `6`
  `public static final int` | `TOR_BRIDGE` | `10`
  `public static final int` | `TOR_CLOCK_ERROR` | `4`
  `public static final int` | `TOR_DIRINFO_STALE` | `12`
  `public static final int` | `TOR_MESSAGE` | `0`
  `public static final int` | `TOR_NEWCIRC` | `11`
  `public static final int` | `TOR_NOEXITS` | `8`
  `public static final int` | `TOR_NOHOP0` | `13`
  `public static final int` | `TOR_NONET_ACTIVITY` | `14`
  `public static final int` | `TOR_NOROUTE` | `5`
  `public static final int` | `TOR_RESTARTED` | `7`
  `public static final int` | `TOR_STOPPED` | `9`

## lib.*

- lib.ClientProcess
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `CLIENT_RUNNING` | `1`
  `public static final int` | `CLIENT_STOPPED` | `0`
  `public static final int` | `CLIENT_TIMEDOUT` | `2`

- lib.InfoDialog
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `CANCEL_BUTTON` | `0`
  `public static final int` | `CANCEL_WINDOW` | `1`
  `public static final int` | `OK` | `2`

- lib.NetFunctions
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `CONNECTION_FAILED` | `0`
  `public static final int` | `EVENT_NETLATENCY` | `3`
  `public static final int` | `EVENT_URLFAILED` | `2`
  `public static final int` | `EVENT_URLOK` | `1`
  `public static final int` | `FILE_FAILED` | `3`
  `public static final int` | `FILE_LOCAL_ISNEWER` | `1`
  `public static final int` | `FILE_RETRIEVED` | `2`
  `public static final long` | `LATENCY_FAIL` | `9999L`
  `public static final long` | `LATENCY_UNKNOWN` | `0L`

- lib.NetFunctions.HttpPage
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final java.lang.String` | `PATTERN_ASCTIME` | `"EEE MMM d HH:mm:ss yyyy"`
  `public static final java.lang.String` | `PATTERN_RFC1036` | `"EEEE, dd-MMM-yy HH:mm:ss zzz"`
  `public static final java.lang.String` | `PATTERN_RFC1123` | `"EEE, dd MMM yyyy HH:mm:ss zzz"`

- lib.SimpleFile
  Modifier and Type | Constant Field | Value
  --- | --- | ---
  `public static final int` | `FILEDELETEFAIL` | `2`
  `public static final int` | `FILEDELETEOK` | `1`
  `public static final int` | `NOTFOUND` | `0`
  `public static final int` | `PERIOD_DAYS` | `2`
  `public static final int` | `PERIOD_HOURS` | `1`
  `public static final int` | `PERIOD_MINUTES` | `0`