object TorController extends BitcoinSLogger
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- TorController
- BitcoinSLogger
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logger: Logger
- Definition Classes
- BitcoinSLogger
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def props(address: InetSocketAddress, protocolHandlerProps: Props, connectedPromiseOpt: Option[Promise[Done]]): Props
- def setUpHiddenService(controlAddress: InetSocketAddress, authentication: Authentication, privateKeyPath: Path, virtualPort: Int, targets: Seq[String] = Seq.empty)(implicit system: ActorSystem): Future[InetSocketAddress]
Set up a Tor hidden service.
Set up a Tor hidden service. It expects a Tor daemon is up and running, and listening on the control address.
Note: only Tor protocol v3 is supported
- controlAddress
Tor control address
- authentication
Tor controller auth mechanism (password or safecookie)
- privateKeyPath
path to a file that contains a Tor private key
- virtualPort
port for the public hidden service (typically 9735)
- targets
address of our protected server (format [host:]port), 127.0.0.1:virtualPort if empty
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- case object SendFailed extends Product with Serializable