hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::consensus::yac::TimerImpl Class Reference

#include "timer_impl.hpp"

Inheritance diagram for iroha::consensus::yac::TimerImpl:
Inheritance graph
Collaboration diagram for iroha::consensus::yac::TimerImpl:
Collaboration graph

Public Member Functions

 TimerImpl (std::chrono::milliseconds delay_milliseconds)
 
void invokeAfterDelay (std::function< void()> handler) override
 
- Public Member Functions inherited from iroha::consensus::yac::Timer
virtual ~Timer ()=default
 

Constructor & Destructor Documentation

◆ TimerImpl()

TimerImpl::TimerImpl ( std::chrono::milliseconds  delay_milliseconds)

Constructor

Parameters
delay_millisecondsdelay before the next method invoke

Member Function Documentation

◆ invokeAfterDelay()

void TimerImpl::invokeAfterDelay ( std::function< void()>  handler)
overridevirtual

Invoke handler with class-specific strategy

Parameters
handler- function, that will be invoked

Implements iroha::consensus::yac::Timer.

Here is the call graph for this function:

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