Iroha - A simple, decentralized ledger http://iroha.tech
iroha::network::MstTransport Class Referenceabstract

#include "mst_transport.hpp"

Inheritance diagram for iroha::network::MstTransport:
Inheritance graph
Collaboration diagram for iroha::network::MstTransport:
Collaboration graph

Public Member Functions

virtual void subscribe (std::shared_ptr< MstTransportNotification > notification)=0
virtual void sendState (const shared_model::interface::Peer &to, const MstState &providing_state)=0
virtual ~MstTransport ()=default

Detailed Description

Interface of transport for propagating multi-signature transactions in network

Constructor & Destructor Documentation

virtual iroha::network::MstTransport::~MstTransport ( )

Member Function Documentation

virtual void iroha::network::MstTransport::sendState ( const shared_model::interface::Peer to,
const MstState providing_state 
pure virtual

Share state with other peer

to- peer recipient of message
providing_state- state for transmitting
virtual void iroha::network::MstTransport::subscribe ( std::shared_ptr< MstTransportNotification notification)
pure virtual

Subscribe object for receiving notifications

notification- object that will be notified on updates

Implemented in iroha::network::MstTransportGrpc, and iroha::network::MstTransportStub.

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