6 #ifndef TORII_COMMAND_SERVICE_IMPL_HPP 7 #define TORII_COMMAND_SERVICE_IMPL_HPP 29 std::shared_ptr<shared_model::interface::TransactionResponse>,
42 std::shared_ptr<iroha::torii::TransactionProcessor> tx_processor,
43 std::shared_ptr<iroha::torii::StatusBus> status_bus,
44 std::shared_ptr<shared_model::interface::TxStatusFactory>
46 std::shared_ptr<iroha::torii::CommandServiceImpl::CacheType> cache,
47 std::shared_ptr<iroha::ametsuchi::TxPresenceCache> tx_presence_cache,
58 std::shared_ptr<shared_model::interface::TransactionBatch> batch)
61 std::shared_ptr<shared_model::interface::TransactionResponse>
getStatus(
62 const shared_model::crypto::Hash &request)
override;
65 std::shared_ptr<shared_model::interface::TransactionResponse> response)
75 const std::string &who,
76 std::shared_ptr<shared_model::interface::TransactionResponse> response);
84 std::shared_ptr<shared_model::interface::TransactionBatch> batch);
86 std::shared_ptr<iroha::torii::TransactionProcessor> tx_processor_;
87 std::shared_ptr<iroha::torii::StatusBus> status_bus_;
88 std::shared_ptr<CacheType> cache_;
89 std::shared_ptr<shared_model::interface::TxStatusFactory> status_factory_;
90 std::shared_ptr<iroha::ametsuchi::TxPresenceCache> tx_presence_cache_;
97 #endif // TORII_COMMAND_SERVICE_IMPL_HPP
CommandServiceImpl & operator=(const CommandServiceImpl &)=delete
void handleTransactionBatch(std::shared_ptr< shared_model::interface::TransactionBatch > batch) override
Definition: command_service_impl.cpp:33
std::shared_ptr< Logger > LoggerPtr
Definition: logger_fwd.hpp:22
std::shared_ptr< shared_model::interface::TransactionResponse > getStatus(const shared_model::crypto::Hash &request) override
Definition: command_service_impl.cpp:39
Definition: application.hpp:79
void processTransactionResponse(std::shared_ptr< shared_model::interface::TransactionResponse > response) override
Definition: command_service_impl.cpp:77
Definition: command_service.hpp:22
Definition: command_service_impl.hpp:24
CommandServiceImpl(std::shared_ptr< iroha::torii::TransactionProcessor > tx_processor, std::shared_ptr< iroha::torii::StatusBus > status_bus, std::shared_ptr< shared_model::interface::TxStatusFactory > status_factory, std::shared_ptr< iroha::torii::CommandServiceImpl::CacheType > cache, std::shared_ptr< iroha::ametsuchi::TxPresenceCache > tx_presence_cache, logger::LoggerPtr log)
Definition: command_service_impl.cpp:19