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 sendState (const shared_model::interface::Peer &to, const std::vector< VoteMessage > &state)=0
 
virtual void stop ()=0
 Prevent any new outgoing network activity. Be passive. More...
 
virtual ~YacNetwork ()=default
 

Constructor & Destructor Documentation

◆ ~YacNetwork()

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

Virtual destructor required for inheritance

Member Function Documentation

◆ sendState()

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.

◆ stop()

virtual void iroha::consensus::yac::YacNetwork::stop ( )
pure virtual

Prevent any new outgoing network activity. Be passive.

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


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