hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
mst_transport_stub.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_MST_TRANSPORT_STUB_HPP
7 #define IROHA_MST_TRANSPORT_STUB_HPP
8 
10 
11 namespace iroha {
12  namespace network {
13  class MstTransportStub : public MstTransport {
14  public:
15  void subscribe(std::shared_ptr<MstTransportNotification>) override;
16 
17  rxcpp::observable<bool> sendState(
18  std::shared_ptr<shared_model::interface::Peer const>,
19  MstState const &) override;
20  };
21  } // namespace network
22 } // namespace iroha
23 
24 #endif // IROHA_MST_TRANSPORT_STUB_HPP
Definition: mst_transport_stub.hpp:13
void subscribe(std::shared_ptr< MstTransportNotification >) override
Definition: mst_transport_stub.cpp:13
Definition: mst_state.hpp:76
rxcpp::observable< bool > sendState(std::shared_ptr< shared_model::interface::Peer const >, MstState const &) override
Definition: mst_transport_stub.cpp:16
Definition: block_query.hpp:15
Definition: mst_transport.hpp:42