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

#include "timer.hpp"

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

Public Member Functions

virtual void invokeAfterDelay (std::function< void()> handler)=0
 
virtual void deny ()=0
 
virtual ~Timer ()=default
 

Detailed Description

Interface provide timer for yac implementation

Constructor & Destructor Documentation

virtual iroha::consensus::yac::Timer::~Timer ( )
virtualdefault

Member Function Documentation

virtual void iroha::consensus::yac::Timer::deny ( )
pure virtual

Stop timer

Implemented in iroha::consensus::yac::TimerImpl.

virtual void iroha::consensus::yac::Timer::invokeAfterDelay ( std::function< void()>  handler)
pure virtual

Invoke handler with class-specific strategy

Parameters
handler- function, that will be invoked

Implemented in iroha::consensus::yac::TimerImpl.


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