Dash Core Source Documentation (0.16.0.1)

Find detailed information regarding the Dash Core source code.

Simple one-shot callback timer to be used by the RPC mechanism to e.g. More...

+ Inheritance diagram for HTTPRPCTimer:
+ Collaboration diagram for HTTPRPCTimer:

Public Member Functions

 HTTPRPCTimer (struct event_base *eventBase, std::function< void(void)> &func, int64_t millis)
 
- Public Member Functions inherited from RPCTimerBase
virtual ~RPCTimerBase ()
 

Private Attributes

HTTPEvent ev
 

Detailed Description

Simple one-shot callback timer to be used by the RPC mechanism to e.g.

re-lock the wallet.

Definition at line 30 of file httprpc.cpp.

Constructor & Destructor Documentation

◆ HTTPRPCTimer()

HTTPRPCTimer::HTTPRPCTimer ( struct event_base *  eventBase,
std::function< void(void)> &  func,
int64_t  millis 
)
inline

Definition at line 33 of file httprpc.cpp.

References ev, and HTTPEvent::trigger().

Member Data Documentation

◆ ev

HTTPEvent HTTPRPCTimer::ev
private

Definition at line 42 of file httprpc.cpp.

Referenced by HTTPRPCTimer().


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