hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::utility_service::UtilityClient Class Reference

#include "utility_client.hpp"

Collaboration diagram for iroha::utility_service::UtilityClient:
Collaboration graph

Classes

struct  StubHolder
 

Public Types

using StatusCallback = bool(*)(const Status &)
 

Public Member Functions

 UtilityClient (std::string const &irohad_address, logger::LoggerPtr log)
 
 ~UtilityClient ()
 
bool waitForServerReady (std::chrono::milliseconds timeout) const
 
bool status (StatusCallback callback) const
 
bool shutdown () const
 

Member Typedef Documentation

◆ StatusCallback

Callback function receives current daemon status and should return true to continnue status listerning and false otherwise.

Constructor & Destructor Documentation

◆ UtilityClient()

UtilityClient::UtilityClient ( std::string const &  irohad_address,
logger::LoggerPtr  log 
)
Here is the call graph for this function:

◆ ~UtilityClient()

UtilityClient::~UtilityClient ( )
default
Here is the caller graph for this function:

Member Function Documentation

◆ shutdown()

bool UtilityClient::shutdown ( ) const
Here is the call graph for this function:

◆ status()

bool UtilityClient::status ( StatusCallback  callback) const
Here is the call graph for this function:
Here is the caller graph for this function:

◆ waitForServerReady()

bool UtilityClient::waitForServerReady ( std::chrono::milliseconds  timeout) const
Here is the call graph for this function:

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