#include "query_client.hpp"
|
| using | Service = iroha::protocol::QueryService_v1 |
| |
|
| | QuerySyncClient (std::shared_ptr< Service::StubInterface > stub) |
| |
| 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 |
| |
◆ Service
◆ QuerySyncClient()
| torii_utils::QuerySyncClient::QuerySyncClient |
( |
std::shared_ptr< Service::StubInterface > |
stub | ) |
|
◆ FetchCommits()
| std::vector< iroha::protocol::BlockQueryResponse > torii_utils::QuerySyncClient::FetchCommits |
( |
const iroha::protocol::BlocksQuery & |
blocks_query | ) |
const |
◆ Find()
| 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
-
- Returns
- grpc::Status
The documentation for this class was generated from the following files: