Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | List of all members
DummyTorControlConnection Class Reference
Inheritance diagram for DummyTorControlConnection:
[legend]
Collaboration diagram for DummyTorControlConnection:
[legend]

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
 

Detailed Description

Definition at line 15 of file torcontrol.cpp.

Constructor & Destructor Documentation

◆ DummyTorControlConnection()

DummyTorControlConnection::DummyTorControlConnection ( )
inline

Definition at line 18 of file torcontrol.cpp.

Member Function Documentation

◆ Command()

bool DummyTorControlConnection::Command ( const std::string &  ,
const ReplyHandlerCB  
)
inline

Definition at line 31 of file torcontrol.cpp.

◆ Connect()

bool DummyTorControlConnection::Connect ( const std::string &  ,
const ConnectionCB ,
const ConnectionCB  
)
inline

Definition at line 22 of file torcontrol.cpp.

◆ Disconnect()

void DummyTorControlConnection::Disconnect ( )
inline

Definition at line 27 of file torcontrol.cpp.


The documentation for this class was generated from the following file: