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
{
12
namespace
consensus {
13
namespace
yac {
14
18
class
Timer
{
19
public
:
24
virtual
void
invokeAfterDelay
(std::function<
void
()> handler) = 0;
25
29
virtual
void
deny
() = 0;
30
31
virtual
~Timer
() =
default
;
32
};
33
}
// namespace yac
34
}
// namespace consensus
35
}
// namespace iroha
36
#endif // IROHA_YAC_TIMER_HPP
iroha::consensus::yac::Timer
Definition:
timer.hpp:18
iroha::consensus::yac::Timer::deny
virtual void deny()=0
iroha::consensus::yac::Timer::invokeAfterDelay
virtual void invokeAfterDelay(std::function< void()> handler)=0
iroha
Definition:
block_query.hpp:15
iroha::consensus::yac::Timer::~Timer
virtual ~Timer()=default
irohad
consensus
yac
timer.hpp
Generated by
1.8.13