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

#include "ordering_service_transport.hpp"

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

Public Member Functions

virtual void onBatch (std::unique_ptr< shared_model::interface::TransactionBatch > batch)=0
 
virtual ~OrderingServiceNotification ()=default
 

Detailed Description

OrderingServiceNotification is a base class for any ordering service implementation that want to be notified about incoming proposals

Constructor & Destructor Documentation

virtual iroha::network::OrderingServiceNotification::~OrderingServiceNotification ( )
virtualdefault

Member Function Documentation

virtual void iroha::network::OrderingServiceNotification::onBatch ( std::unique_ptr< shared_model::interface::TransactionBatch batch)
pure virtual

Callback on receiving transaction(s)

Parameters
batchobject, in which transaction(s) are packed

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