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 namespace spdlog {
12  class logger;
13 }
14 
15 namespace iroha_cli {
16 
18  public:
20  std::shared_ptr<spdlog::logger> log =
21  logger::log("TransactionResponseHandler"));
26  void handle(const CliClient::TxStatus status) const;
27 
28  private:
29  std::shared_ptr<spdlog::logger> log_;
30  };
31 } // namespace iroha_cli
32 
33 #endif // IROHA_CLI_TRANSACTION_RESPONSE_HANDLER_HPP
Definition: client.cpp:16
Definition: grpc_response_handler.hpp:12
Definition: logger.cpp:8
Logger log(const std::string &tag)
Definition: logger.cpp:48
TxStatus
Definition: client.hpp:32
Definition: transaction_response_handler.hpp:17