hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
timer.hpp
Go to the documentation of this file.
1
6
#ifndef IROHA_YAC_TIMER_HPP
7
#define IROHA_YAC_TIMER_HPP
8
9
#include <functional>
10
11
namespace
iroha::consensus::yac
{
15
class
Timer
{
16
public
:
21
virtual
void
invokeAfterDelay
(std::function<
void
()> handler) = 0;
22
23
virtual
~Timer
() =
default
;
24
};
25
}
// namespace iroha::consensus::yac
26
27
#endif // IROHA_YAC_TIMER_HPP
iroha::consensus::yac::Timer
Definition:
timer.hpp:15
iroha::consensus::yac::Timer::invokeAfterDelay
virtual void invokeAfterDelay(std::function< void()> handler)=0
iroha::consensus::yac::Timer::~Timer
virtual ~Timer()=default
iroha::consensus::yac
Definition:
cluster_order.hpp:16
irohad
consensus
yac
timer.hpp
Generated by
1.8.13