#include "command_client.hpp"
|
| using | Service = iroha::protocol::CommandService_v1 |
| |
|
| | CommandSyncClient (std::shared_ptr< Service::StubInterface > stub, logger::LoggerPtr log) |
| |
| grpc::Status | Torii (const iroha::protocol::Transaction &tx) const |
| |
| grpc::Status | ListTorii (const iroha::protocol::TxList &tx_list) const |
| |
| grpc::Status | Status (const iroha::protocol::TxStatusRequest &tx, iroha::protocol::ToriiResponse &response) const |
| |
| void | StatusStream (const iroha::protocol::TxStatusRequest &tx, std::vector< iroha::protocol::ToriiResponse > &response) const |
| |
◆ Service
◆ CommandSyncClient()
| torii::CommandSyncClient::CommandSyncClient |
( |
std::shared_ptr< Service::StubInterface > |
stub, |
|
|
logger::LoggerPtr |
log |
|
) |
| |
◆ ListTorii()
| grpc::Status torii::CommandSyncClient::ListTorii |
( |
const iroha::protocol::TxList & |
tx_list | ) |
const |
requests list of txs to a torii server and returns response
- Parameters
-
- Returns
- grpc::Status - returns connection is success or not.
◆ Status()
| grpc::Status torii::CommandSyncClient::Status |
( |
const iroha::protocol::TxStatusRequest & |
tx, |
|
|
iroha::protocol::ToriiResponse & |
response |
|
) |
| const |
- Parameters
-
| tx | |
| response | returns ToriiResponse if succeeded |
- Returns
- grpc::Status - returns connection is success or not.
◆ StatusStream()
| void torii::CommandSyncClient::StatusStream |
( |
const iroha::protocol::TxStatusRequest & |
tx, |
|
|
std::vector< iroha::protocol::ToriiResponse > & |
response |
|
) |
| const |
Acquires stream of transaction statuses from the request moment until final.
- Parameters
-
| tx | - transaction to send. |
| response | - vector of all statuses during tx pipeline. |
◆ Torii()
| grpc::Status torii::CommandSyncClient::Torii |
( |
const iroha::protocol::Transaction & |
tx | ) |
const |
requests tx to a torii server and returns response (blocking, sync)
- Parameters
-
- Returns
- grpc::Status - returns connection is success or not.
The documentation for this class was generated from the following files: