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

A full command for the state machine to process. More...

#include <controller.hpp>

Collaboration diagram for cbdc::coordinator::controller::sm_command:

Data Fields

sm_command_header m_header {}
 The command's metadata.
 
std::optional< std::variant< prepare_tx, commit_tx > > m_data {}
 Associated transactions to prepare or commit, if applicable.
 

Detailed Description

A full command for the state machine to process.

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

Field Documentation

◆ m_data

std::optional<std::variant<prepare_tx, commit_tx> > cbdc::coordinator::controller::sm_command::m_data {}

Associated transactions to prepare or commit, if applicable.

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

◆ m_header

sm_command_header cbdc::coordinator::controller::sm_command::m_header {}

The command's metadata.

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


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