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

#include "yac_network_interface.hpp"

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

Public Member Functions

virtual void subscribe (std::shared_ptr< YacNetworkNotifications > handler)=0
 
virtual void sendState (const shared_model::interface::Peer &to, const std::vector< VoteMessage > &state)=0
 
virtual ~YacNetwork ()=default
 

Constructor & Destructor Documentation

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

Virtual destructor required for inheritance

Member Function Documentation

virtual void iroha::consensus::yac::YacNetwork::sendState ( const shared_model::interface::Peer to,
const std::vector< VoteMessage > &  state 
)
pure virtual

Directly share collection of votes

Parameters
to- peer recipient
state- message for sending

Implemented in iroha::consensus::yac::NetworkImpl.

virtual void iroha::consensus::yac::YacNetwork::subscribe ( std::shared_ptr< YacNetworkNotifications handler)
pure virtual

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