OpenCBDC Transaction Processor
Loading...
Searching...
No Matches
cbdc::coordinator::controller::sm_command_header Struct Reference

Metadata of a command for the state machine. More...

#include <controller.hpp>

Public Member Functions

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

Data Fields

state_machine::command m_comm {}
 The type of command.
 
std::optional< hash_tm_dtx_id {}
 The ID of the distributed transaction the command applies to, if applicable.
 

Detailed Description

Metadata of a command for the state machine.

Definition at line 83 of file uhs/twophase/coordinator/controller.hpp.

Member Function Documentation

◆ operator==()

auto cbdc::coordinator::controller::sm_command_header::operator== ( const sm_command_header & rhs) const -> bool

Definition at line 670 of file uhs/twophase/coordinator/controller.cpp.

Field Documentation

◆ m_comm

state_machine::command cbdc::coordinator::controller::sm_command_header::m_comm {}

The type of command.

Definition at line 85 of file uhs/twophase/coordinator/controller.hpp.

◆ m_dtx_id

std::optional<hash_t> cbdc::coordinator::controller::sm_command_header::m_dtx_id {}

The ID of the distributed transaction the command applies to, if applicable.

Definition at line 89 of file uhs/twophase/coordinator/controller.hpp.


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