Iroha - A simple, decentralized ledger http://iroha.tech
iroha_cli::interactive::InteractiveCli Class Reference

#include "interactive_cli.hpp"

Collaboration diagram for iroha_cli::interactive::InteractiveCli:
Collaboration graph

Public Member Functions

 InteractiveCli (const std::string &account_name, const std::string &default_peer_ip, int default_port, uint64_t qry_counter, const std::shared_ptr< iroha::model::ModelCryptoProvider > &provider, logger::LoggerManagerTreePtr response_handler_log_manager, logger::LoggerPtr pb_qry_factory_log, logger::LoggerPtr json_qry_factory_log, logger::LoggerManagerTreePtr log_manager)
void run ()

Constructor & Destructor Documentation

iroha_cli::interactive::InteractiveCli::InteractiveCli ( const std::string &  account_name,
const std::string &  default_peer_ip,
int  default_port,
uint64_t  qry_counter,
const std::shared_ptr< iroha::model::ModelCryptoProvider > &  provider,
logger::LoggerManagerTreePtr  response_handler_log_manager,
logger::LoggerPtr  pb_qry_factory_log,
logger::LoggerPtr  json_qry_factory_log,
logger::LoggerManagerTreePtr  log_manager 

Interactive command line client

account_nameregistered in Iroha network
default_peer_ipdefault peer ip to send transactions/query
default_portdefault port of peer's Iroha Torii
qry_countersynchronized nonce for sending queries
providercrypto provider to make signatures
response_handler_log_managerfor ResponseHandler messages
pb_qry_factory_logfor PbQueryFactory mesages
json_qry_factory_logfor JsonQueryFactory mesages
log_managerlog manager for interactive CLIs

Here is the call graph for this function:

Member Function Documentation

void iroha_cli::interactive::InteractiveCli::run ( )

Run interactive cli. Print menu and parse commands

Here is the call graph for this function:

Here is the caller graph for this function:

The documentation for this class was generated from the following files: