Bitcoin Core 28.99.0
P2P Digital Currency
|
Public Member Functions | |
DummyTorControlConnection () | |
bool | Connect (const std::string &, const ConnectionCB &, const ConnectionCB &) |
void | Disconnect () |
bool | Command (const std::string &, const ReplyHandlerCB &) |
Public Member Functions inherited from TorControlConnection | |
TorControlConnection (struct event_base *base) | |
Create a new TorControlConnection. More... | |
~TorControlConnection () | |
bool | Connect (const std::string &tor_control_center, const ConnectionCB &connected, const ConnectionCB &disconnected) |
Connect to a Tor control port. More... | |
void | Disconnect () |
Disconnect from Tor control port. More... | |
bool | Command (const std::string &cmd, const ReplyHandlerCB &reply_handler) |
Send a command, register a handler for the reply. More... | |
Additional Inherited Members | |
Public Types inherited from TorControlConnection | |
typedef std::function< void(TorControlConnection &)> | ConnectionCB |
typedef std::function< void(TorControlConnection &, const TorControlReply &)> | ReplyHandlerCB |
Definition at line 15 of file torcontrol.cpp.
|
inline |
Definition at line 18 of file torcontrol.cpp.
|
inline |
Definition at line 31 of file torcontrol.cpp.
|
inline |
Definition at line 22 of file torcontrol.cpp.
|
inline |
Definition at line 27 of file torcontrol.cpp.