Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QtRPCTimerInterface Class Reference
Inheritance diagram for QtRPCTimerInterface:
[legend]
Collaboration diagram for QtRPCTimerInterface:
[legend]

Public Member Functions

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

Detailed Description

Definition at line 108 of file rpcconsole.cpp.

Constructor & Destructor Documentation

◆ ~QtRPCTimerInterface()

QtRPCTimerInterface::~QtRPCTimerInterface ( )
inline

Definition at line 110 of file rpcconsole.cpp.

Member Function Documentation

◆ Name()

const char * QtRPCTimerInterface::Name ( )
inlineoverridevirtual

Implementation name.

Implements RPCTimerInterface.

Definition at line 111 of file rpcconsole.cpp.

◆ NewTimer()

RPCTimerBase * QtRPCTimerInterface::NewTimer ( std::function< 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 112 of file rpcconsole.cpp.

Here is the call graph for this function:

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