STATE

Events pertaining to the current state of TorRuntime.

e.g. (println observers for events STATE, LISTENERS, READY)

TorState[fid=6E96…6985, daemon=On{95%}, network=Enabled]
TorState[fid=6E96…6985, daemon=On{100%}, network=Enabled]
TorListeners[fid=6E96…6985]: [
    dir: []
    dns: []
    http: []
    metrics: []
    natd: []
    or: []
    orExt: []
    socks: [
        127.0.0.1:35607
    ]
    socksUnix: []
    trans: []
]
Tor[fid=6E96…6985] IS READY
TorState[fid=6E96…6985, daemon=On{100%}, network=Disabled]
TorListeners[fid=6E96…6985]: [
    dir: []
    dns: []
    http: []
    metrics: []
    natd: []
    or: []
    orExt: []
    socks: []
    socksUnix: []
    trans: []
]

See also

Properties

Link copied to clipboard
val name: String

Functions

Link copied to clipboard
protected override fun createProtected(event: RuntimeEvent<TorState>, tag: String?, executor: OnEvent.Executor?, onEvent: OnEvent<TorState>): RuntimeEvent.Observer<TorState>
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
override fun toString(): String