Bitcoin
Public Member Functions | List of all members
QtRPCTimerInterface Class Reference
Inheritance diagram for QtRPCTimerInterface:
RPCTimerInterface

Public Member Functions

 ~QtRPCTimerInterface ()
 
const char * Name ()
 
RPCTimerBaseNewTimer (std::function< void()> &func, int64_t millis)
 
- Public Member Functions inherited from RPCTimerInterface
virtual ~RPCTimerInterface ()
 

Constructor & Destructor Documentation

◆ ~QtRPCTimerInterface()

QtRPCTimerInterface::~QtRPCTimerInterface ( )
inline

Member Function Documentation

◆ Name()

const char* QtRPCTimerInterface::Name ( )
inlinevirtual

Implementation name

Implements RPCTimerInterface.

◆ NewTimer()

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

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.


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