READY
Indicates that tor has completed bootstrapping and the network is enabled. All READY observers will be notified a single time per runtime startup completion. If the currently running tor instance is stopped via Action.StopDaemon or Action.RestartDaemon, READY observers will be notified again in the same manner when the next start completion occurs.
This is useful for triggering single execution events.
NOTE: Toggling DisableNetwork on/off does not affect this. A single notification will be dispatched the first time bootstrapping completes and network is enabled.
e.g. (println observers for events STATE, LISTENERS, READY)
TorState[fid=6E96…6985, daemon=Starting, network=Disabled]
TorState[fid=6E96…6985, daemon=On{0%}, network=Disabled]
TorState[fid=6E96…6985, daemon=On{0%}, network=Enabled]
TorState[fid=6E96…6985, daemon=On{5%}, network=Enabled]
TorState[fid=6E96…6985, daemon=On{10%}, network=Enabled]
TorState[fid=6E96…6985, daemon=On{14%}, network=Enabled]
TorState[fid=6E96…6985, daemon=On{15%}, network=Enabled]
TorState[fid=6E96…6985, daemon=On{75%}, network=Enabled]
TorState[fid=6E96…6985, daemon=On{90%}, network=Enabled]
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: []
]
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:38255
]
socksUnix: []
trans: []
]
TorState[fid=6E96…6985, daemon=Stopping, network=Enabled]
TorListeners[fid=6E96…6985]: [
dir: []
dns: []
http: []
metrics: []
natd: []
or: []
orExt: []
socks: []
socksUnix: []
trans: []
]
TorState[fid=6E96…6985, daemon=Off, network=Disabled]
Content copied to clipboard
See also
Functions
Link copied to clipboard
protected override fun createProtected(event: RuntimeEvent<String>, tag: String?, executor: OnEvent.Executor?, onEvent: OnEvent<String>): RuntimeEvent.Observer<String>
Link copied to clipboard
fun observer(tag: String?, executor: OnEvent.Executor?, onEvent: OnEvent<String>): RuntimeEvent.Observer<String>