6 #ifndef IROHA_QUERY_PROCESSOR_IMPL_HPP 7 #define IROHA_QUERY_PROCESSOR_IMPL_HPP 11 #include <rxcpp/rx-lite.hpp> 25 std::shared_ptr<ametsuchi::Storage> storage,
26 std::shared_ptr<ametsuchi::QueryExecutorFactory> qry_exec,
27 std::shared_ptr<iroha::PendingTransactionStorage>
29 std::shared_ptr<shared_model::interface::QueryResponseFactory>
34 std::unique_ptr<shared_model::interface::QueryResponse>,
39 std::shared_ptr<shared_model::interface::BlockQueryResponse>>
44 rxcpp::subjects::subject<
45 std::shared_ptr<shared_model::interface::BlockQueryResponse>>
46 blocks_query_subject_;
47 std::shared_ptr<ametsuchi::Storage> storage_;
48 std::shared_ptr<ametsuchi::QueryExecutorFactory> qry_exec_;
49 std::shared_ptr<iroha::PendingTransactionStorage> pending_transactions_;
50 std::shared_ptr<shared_model::interface::QueryResponseFactory>
59 #endif // IROHA_QUERY_PROCESSOR_IMPL_HPP Definition: command_client.hpp:16
Definition: query_processor_impl.hpp:22
Definition: blocks_query.hpp:20
rxcpp::observable< std::shared_ptr< shared_model::interface::BlockQueryResponse > > blocksQueryHandle(const shared_model::interface::BlocksQuery &qry) override
Definition: query_processor_impl.cpp:55
Definition: result_fwd.hpp:27
std::shared_ptr< Logger > LoggerPtr
Definition: logger_fwd.hpp:22
Definition: block_query.hpp:15
iroha::expected::Result< std::unique_ptr< shared_model::interface::QueryResponse >, std::string > queryHandle(const shared_model::interface::Query &qry) override
Definition: query_processor_impl.cpp:45
QueryProcessorImpl(std::shared_ptr< ametsuchi::Storage > storage, std::shared_ptr< ametsuchi::QueryExecutorFactory > qry_exec, std::shared_ptr< iroha::PendingTransactionStorage > pending_transactions, std::shared_ptr< shared_model::interface::QueryResponseFactory > response_factory, logger::LoggerPtr log)
Definition: query_processor_impl.cpp:21
Definition: query_processor.hpp:31