OpenCBDC Transaction Processor
Loading...
Searching...
No Matches
cbdc::locking_shard::rpc::request Struct Reference

Request to a shard. More...

#include <messages.hpp>

Public Member Functions

auto operator== (const request &rhs) const -> bool
 

Data Fields

hash_t m_dtx_id {}
 The distributed transaction ID corresponding to the request.
 
std::variant< lock_params, apply_params, discard_paramsm_params {}
 If the command is lock or apply, the parameters for these commands.
 

Detailed Description

Request to a shard.

Definition at line 27 of file uhs/twophase/locking_shard/messages.hpp.

Member Function Documentation

◆ operator==()

auto cbdc::locking_shard::rpc::request::operator== ( const request & rhs) const -> bool

Definition at line 11 of file uhs/twophase/locking_shard/messages.cpp.

Field Documentation

◆ m_dtx_id

hash_t cbdc::locking_shard::rpc::request::m_dtx_id {}

The distributed transaction ID corresponding to the request.

Definition at line 29 of file uhs/twophase/locking_shard/messages.hpp.

◆ m_params

std::variant<lock_params, apply_params, discard_params> cbdc::locking_shard::rpc::request::m_params {}

If the command is lock or apply, the parameters for these commands.

Definition at line 32 of file uhs/twophase/locking_shard/messages.hpp.


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