Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

QtRPCTimerInterface Class Reference
+ Inheritance diagram for QtRPCTimerInterface:
+ Collaboration diagram for QtRPCTimerInterface:

Public Member Functions

 ~QtRPCTimerInterface ()
 
const char * Name () override
 Implementation name. More...
 
RPCTimerBaseNewTimer (std::function< void(void)> &func, int64_t millis) override
 Factory function for timers. More...
 
- Public Member Functions inherited from RPCTimerInterface
virtual ~RPCTimerInterface ()
 

Detailed Description

Definition at line 114 of file rpcconsole.cpp.

Constructor & Destructor Documentation

◆ ~QtRPCTimerInterface()

QtRPCTimerInterface::~QtRPCTimerInterface ( )
inline

Definition at line 117 of file rpcconsole.cpp.

Member Function Documentation

◆ Name()

const char* QtRPCTimerInterface::Name ( )
inlineoverridevirtual

Implementation name.

Implements RPCTimerInterface.

Definition at line 118 of file rpcconsole.cpp.

◆ NewTimer()

RPCTimerBase* QtRPCTimerInterface::NewTimer ( std::function< void(void)> &  func,
int64_t  millis 
)
inlineoverridevirtual

Factory function for timers.

RPC will call the function to create a timer that will call func in millis milliseconds.

Note
As the RPC mechanism is backend-neutral, it can use different implementations of timers. This is needed to cope with the case in which there is no HTTP server, but only GUI RPC console, and to break the dependency of pcserver on httprpc.

Implements RPCTimerInterface.

Definition at line 119 of file rpcconsole.cpp.


The documentation for this class was generated from the following file:
Released under the MIT license