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

#include "query_client.hpp"

Collaboration diagram for torii_utils::QuerySyncClient:
Collaboration graph

Public Member Functions

 QuerySyncClient (const std::string &ip, size_t port)
 
 QuerySyncClient (const QuerySyncClient &)
 
QuerySyncClientoperator= (QuerySyncClient)
 
 QuerySyncClient (QuerySyncClient &&) noexcept
 
QuerySyncClientoperator= (QuerySyncClient &&) noexcept
 
grpc::Status Find (const iroha::protocol::Query &query, iroha::protocol::QueryResponse &response) const
 
std::vector< iroha::protocol::BlockQueryResponse > FetchCommits (const iroha::protocol::BlocksQuery &blocks_query) const
 

Detailed Description

CommandSyncClient

Constructor & Destructor Documentation

torii_utils::QuerySyncClient::QuerySyncClient ( const std::string &  ip,
size_t  port 
)
torii_utils::QuerySyncClient::QuerySyncClient ( const QuerySyncClient rhs)
torii_utils::QuerySyncClient::QuerySyncClient ( QuerySyncClient &&  rhs)
noexcept

Member Function Documentation

std::vector< iroha::protocol::BlockQueryResponse > torii_utils::QuerySyncClient::FetchCommits ( const iroha::protocol::BlocksQuery &  blocks_query) const
grpc::Status torii_utils::QuerySyncClient::Find ( const iroha::protocol::Query &  query,
iroha::protocol::QueryResponse &  response 
) const

requests query to a torii server and returns response (blocking, sync)

Parameters
query- contains Query what clients request.
response- QueryResponse that contains what clients want to get.
Returns
grpc::Status

requests query to a torii server and returns response (blocking, sync)

Parameters
query
response
Returns
grpc::Status

Here is the caller graph for this function:

QuerySyncClient & torii_utils::QuerySyncClient::operator= ( QuerySyncClient  rhs)
QuerySyncClient & torii_utils::QuerySyncClient::operator= ( QuerySyncClient &&  rhs)
noexcept

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