hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
status_bus.hpp
Go to the documentation of this file.
1 
6 #ifndef TORII_STATUS_BUS
7 #define TORII_STATUS_BUS
8 
10 
11 namespace iroha::torii {
15  class StatusBus {
16  public:
17  virtual ~StatusBus() = default;
18 
20  using Objects =
21  std::shared_ptr<shared_model::interface::TransactionResponse>;
22 
28  virtual void publish(Objects const &) = 0;
29  };
30 } // namespace iroha::torii
31 
32 #endif // TORII_STATUS_BUS
std::shared_ptr< shared_model::interface::TransactionResponse > Objects
Objects that represent status to operate with.
Definition: status_bus.hpp:21
virtual ~StatusBus()=default
virtual void publish(Objects const &)=0
Definition: application.hpp:79
Definition: status_bus.hpp:15