Factory
A factory class for connecting to tor via its control listener.
See Factory.connect(https://kmp-tor.matthewnelson.io/library/runtime-ctrl/io.matthewnelson.kmp.tor.runtime.ctrl/-tor-ctrl/-factory/connect.html * @see connectAsync * @param staticTag Special string that will exclude TorEvent.Observer * with the same tag from removal until destroyed * @param observers Some initial observers to start with, static or not. * @param interceptors Intercepts to hook into executing jobs & modify * the TorCmd (if needed).
Parameters
The default OnEvent.Executor to fall back to when calling TorEvent.Observer.notify if it does not have its own.
A callback for debugging info. MUST be thread safe. Any non-UncaughtException it throws will be swallowed.
The UncaughtException.Handler to pipe bad behavior to. It MUST be thread-safe for Jvm & Native implementations.
A factory class for connecting to tor via its control listener.
Parameters
The default OnEvent.Executor to fall back to when calling TorEvent.Observer.notify if it does not have its own.
A callback for debugging info. MUST be thread safe. Any non-UncaughtException it throws will be swallowed.
The UncaughtException.Handler to pipe bad behavior to.
Special string that will exclude TorEvent.Observer with the same tag from removal until destroyed.
Some initial observers to start with, static or not.
Intercepts to hook into executing jobs & modify the TorCmd (if needed).
See also
A factory class for connecting to tor via its control listener.
Parameters
The default OnEvent.Executor to fall back to when calling TorEvent.Observer.notify if it does not have its own.
A callback for debugging info. MUST be thread safe. Any non-UncaughtException it throws will be swallowed.
The UncaughtException.Handler to pipe bad behavior to. It MUST be thread-safe.
Special string that will exclude TorEvent.Observer with the same tag from removal until destroyed
Some initial observers to start with, static or not.
Intercepts to hook into executing jobs & modify the TorCmd (if needed).
See also
Constructors
Functions
Connects to a tor control listener via UnixDomainSocket.
Connects to a tor control listener via TCP socket.
Connects to a tor control listener via UnixDomainSocket.
Connects to a tor control listener via TCP socket.
Connects to a tor control listener via UnixDomainSocket.
Connects to a tor control listener via TCP socket.