#include "command_service_impl.hpp"
Actual implementation of sync CommandServiceImpl.
◆ CacheType
◆ CommandServiceImpl() [1/2]
Creates a new instance of CommandService
- Parameters
-
| tx_processor | - processor of received transactions |
| storage | - to query transactions outside the cache |
| status_bus | is a common notifier for tx statuses |
| cache | - non-persistent cache, an instance of type CommandServiceImpl::CacheType |
| tx_presence_cache | a cache over persistent storage |
| log | to print progress |
◆ ~CommandServiceImpl()
| iroha::torii::CommandServiceImpl::~CommandServiceImpl |
( |
| ) |
|
|
override |
◆ CommandServiceImpl() [2/2]
Disable copying in any way to prevent potential issues with common storage/tx_processor
◆ getStatus()
Request to retrieve a status of any particular transaction
- Parameters
-
| request | - TxStatusRequest object which identifies transaction uniquely |
- Returns
- response which contains a current state of requested transaction
Implements iroha::torii::CommandService.
◆ getStatusStream()
Streaming call which will repeatedly send all statuses of requested transaction from its status at the moment of receiving this request to the some final transaction status (which cannot change anymore)
- Parameters
-
| request- | TxStatusRequest object which identifies transaction uniquely |
- Returns
- observable with transaction statuses
Implements iroha::torii::CommandService.
◆ handleTransactionBatch()
◆ operator=()
The documentation for this class was generated from the following files: