#include "client.hpp"

Classes | |
| struct | Response |
Public Types | |
| enum | TxStatus { OK } |
Public Member Functions | |
| CliClient (std::string target_ip, int port, logger::LoggerPtr pb_qry_factory_log) | |
| CliClient::Response< CliClient::TxStatus > | sendTx (const shared_model::interface::Transaction &tx) |
| CliClient::Response< iroha::protocol::QueryResponse > | sendQuery (const shared_model::interface::Query &query) |
| CliClient::Response< iroha::protocol::ToriiResponse > | getTxStatus (std::string tx_hash) |
| iroha_cli::CliClient::CliClient | ( | std::string | target_ip, |
| int | port, | ||
| logger::LoggerPtr | pb_qry_factory_log | ||
| ) |
| CliClient::Response< iroha::protocol::ToriiResponse > iroha_cli::CliClient::getTxStatus | ( | std::string | tx_hash | ) |

| CliClient::Response< iroha::protocol::QueryResponse > iroha_cli::CliClient::sendQuery | ( | const shared_model::interface::Query & | query | ) |
Send Query to Iroha Peer, i.e. target_ip:port
| query |


| CliClient::Response< CliClient::TxStatus > iroha_cli::CliClient::sendTx | ( | const shared_model::interface::Transaction & | tx | ) |
Send Transaction to Iroha Peer, i.e. target_ip:port
| tx |

