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

#include "status_bus.hpp"

Inheritance diagram for iroha::torii::StatusBus:
Inheritance graph
Collaboration diagram for iroha::torii::StatusBus:
Collaboration graph

Public Types

using Objects = std::shared_ptr< shared_model::interface::TransactionResponse >
 Objects that represent status to operate with. More...
 

Public Member Functions

virtual ~StatusBus ()=default
 
virtual void publish (Objects)=0
 
virtual rxcpp::observable< Objectsstatuses ()=0
 

Detailed Description

Interface of bus for transaction statuses

Member Typedef Documentation

Objects that represent status to operate with.

Constructor & Destructor Documentation

virtual iroha::torii::StatusBus::~StatusBus ( )
virtualdefault

Member Function Documentation

virtual void iroha::torii::StatusBus::publish ( Objects  )
pure virtual

Shares object among the bus subscribers

Parameters
objectto share note: guaranteed to be non-blocking call

Implemented in iroha::torii::StatusBusImpl.

virtual rxcpp::observable<Objects> iroha::torii::StatusBus::statuses ( )
pure virtual
Returns
observable over objects in bus

Implemented in iroha::torii::StatusBusImpl.


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