hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
transaction_response_handler.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_CLI_TRANSACTION_RESPONSE_HANDLER_HPP
7 #define IROHA_CLI_TRANSACTION_RESPONSE_HANDLER_HPP
8 
9 #include "client.hpp" // for CliClient::TxStatus (yuck!)
10 
11 #include "logger/logger_fwd.hpp"
12 
13 namespace spdlog {
14  class logger;
15 }
16 
17 namespace iroha_cli {
18 
20  public:
26  void handle(const CliClient::TxStatus status) const;
27 
28  private:
29  logger::LoggerPtr log_;
30  };
31 } // namespace iroha_cli
32 
33 #endif // IROHA_CLI_TRANSACTION_RESPONSE_HANDLER_HPP
Definition: client.cpp:16
std::shared_ptr< Logger > LoggerPtr
Definition: logger_fwd.hpp:22
Definition: grpc_response_handler.hpp:14
Definition: dummy_logger.hpp:11
TxStatus
Definition: client.hpp:33
Definition: transaction_response_handler.hpp:19