RPC client for a coordinator.
More...
#include <client.hpp>
|
using | callback_type = std::function<void(std::optional<bool>)> |
| Signature of callback function for a transaction execution result.
|
|
RPC client for a coordinator.
Definition at line 15 of file uhs/twophase/coordinator/client.hpp.
◆ client() [1/4]
◆ client() [2/4]
cbdc::coordinator::rpc::client::client |
( |
| ) |
|
|
delete |
◆ ~client()
cbdc::coordinator::rpc::client::~client |
( |
| ) |
|
|
overridedefault |
◆ client() [3/4]
cbdc::coordinator::rpc::client::client |
( |
const client & | | ) |
|
|
delete |
◆ client() [4/4]
cbdc::coordinator::rpc::client::client |
( |
client && | | ) |
|
|
delete |
◆ execute_transaction()
◆ init()
auto cbdc::coordinator::rpc::client::init |
( |
| ) |
-> bool |
Initializes the RPC client by connecting to the coordinator cluster and starting a response handler thread.
- Returns
- false if there is only one coordinator endpoint and connecting to it failed. Otherwise true.
Definition at line 15 of file uhs/twophase/coordinator/client.cpp.
◆ operator=() [1/2]
auto cbdc::coordinator::rpc::client::operator= |
( |
client && | | ) |
-> client &=delete |
|
delete |
◆ operator=() [2/2]
auto cbdc::coordinator::rpc::client::operator= |
( |
const client & | | ) |
-> client &=delete |
|
delete |
The documentation for this class was generated from the following files: