[#TorController] = TorController :mrdocs: Manages the node's Tor hidden service and control connection. == Synopsis Declared in `<torcontrol.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class TorController; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:TorController/2constructor-0b.adoc[`TorController`] [.small]#[constructor]# | Constructors | xref:TorController/2destructor.adoc[`~TorController`] [.small]#[destructor]# | Destroy the controller. | xref:TorController/GetPrivateKeyFile.adoc[`GetPrivateKeyFile`] | Get name of file to store private key in | xref:TorController/Interrupt.adoc[`Interrupt`] | Interrupt the controller thread | xref:TorController/Join.adoc[`Join`] | Wait for the controller thread to exit | xref:TorController/add_onion_cb.adoc[`add_onion_cb`] | Callback for ADD_ONION result | xref:TorController/auth_cb.adoc[`auth_cb`] | Callback for AUTHENTICATE result | xref:TorController/authchallenge_cb.adoc[`authchallenge_cb`] | Callback for AUTHCHALLENGE result | xref:TorController/connected_cb.adoc[`connected_cb`] | Callback after successful connection | xref:TorController/disconnected_cb.adoc[`disconnected_cb`] | Callback after connection lost or failed connection attempt | xref:TorController/get_socks_cb.adoc[`get_socks_cb`] | Callback for GETINFO net/listeners/socks result | xref:TorController/protocolinfo_cb.adoc[`protocolinfo_cb`] | Callback for PROTOCOLINFO result |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#