hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
query_executor_factory.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_QUERY_EXECUTOR_FACTORY_HPP
7 #define IROHA_QUERY_EXECUTOR_FACTORY_HPP
8 
9 #include <boost/optional.hpp>
10 
12 #include "common/result_fwd.hpp"
15 
16 namespace iroha {
17  namespace ametsuchi {
19  public:
24  std::string>
26  std::shared_ptr<PendingTransactionStorage> pending_txs_storage,
27  std::shared_ptr<shared_model::interface::QueryResponseFactory>
28  response_factory) const = 0;
29 
30  virtual ~QueryExecutorFactory() = default;
31  };
32  } // namespace ametsuchi
33 } // namespace iroha
34 #endif // IROHA_QUERY_EXECUTOR_FACTORY_HPP
Definition: result_fwd.hpp:27
virtual iroha::expected::Result< std::unique_ptr< QueryExecutor >, std::string > createQueryExecutor(std::shared_ptr< PendingTransactionStorage > pending_txs_storage, std::shared_ptr< shared_model::interface::QueryResponseFactory > response_factory) const =0
Definition: query_executor_factory.hpp:18
Definition: block_query.hpp:15