Skip to content

topl-service / io.matthewnelson.topl_service / TorServiceController

TorServiceController

class TorServiceController :ServiceConsts (source)

Types

Name Summary
Builder The TorServiceController.Builder is where you get to customize how TorService works for your application. Call it in Application.onCreate and follow along.class Builder

Companion Object Properties

Name Summary
appEventBroadcaster var appEventBroadcaster:TorServiceEventBroadcaster?

Companion Object Functions

Name Summary
getDefaultTorSettings This method will never throw the RuntimeException if you call it after Builder.build.fun getDefaultTorSettings():ApplicationDefaultTorSettings
getServiceTorSettings This method will never throw the RuntimeException if you call it after Builder.build.fun getServiceTorSettings():BaseServiceTorSettings
getTorConfigFiles Get the TorConfigFiles that have been set after calling Builder.buildfun getTorConfigFiles():TorConfigFiles
getV3ClientAuthManager This method will never throw the RuntimeException if you call it after Builder.build.fun getV3ClientAuthManager():BaseV3ClientAuthManager
newIdentity Changes identities.fun newIdentity():Unit
restartTor Restarts Tor.fun restartTor():Unit
startTor This method will never throw the RuntimeException if you call it after Builder.build.fun startTor():Unit
stopTor Stops TorService.fun stopTor():Unit