MySQL 8.0.39
Source Code Documentation
Transaction_prepared_action_packet Class Reference

A packet to inform that a given member did prepare a given transaction. More...

#include <applier.h>

Inheritance diagram for Transaction_prepared_action_packet:
[legend]

Public Member Functions

 Transaction_prepared_action_packet (const rpl_sid *sid, rpl_gno gno, const Gcs_member_identifier &gcs_member_id)
 Create a new transaction prepared action. More...
 
 ~Transaction_prepared_action_packet () override=default
 
const rpl_sidget_sid ()
 
- Public Member Functions inherited from Packet
 Packet (int type)
 Create a new generic packet of a certain type. More...
 
virtual ~Packet ()=default
 
int get_packet_type ()
 

Public Attributes

const bool m_sid_specified
 
const rpl_gno m_gno
 
const Gcs_member_identifier m_gcs_member_id
 

Private Attributes

rpl_sid m_sid
 

Detailed Description

A packet to inform that a given member did prepare a given transaction.

Constructor & Destructor Documentation

◆ Transaction_prepared_action_packet()

Transaction_prepared_action_packet::Transaction_prepared_action_packet ( const rpl_sid sid,
rpl_gno  gno,
const Gcs_member_identifier gcs_member_id 
)
inline

Create a new transaction prepared action.

Parameters
sidthe prepared transaction sid
gnothe prepared transaction gno
gcs_member_idthe member id that did prepare the transaction

◆ ~Transaction_prepared_action_packet()

Transaction_prepared_action_packet::~Transaction_prepared_action_packet ( )
overridedefault

Member Function Documentation

◆ get_sid()

const rpl_sid * Transaction_prepared_action_packet::get_sid ( )
inline

Member Data Documentation

◆ m_gcs_member_id

const Gcs_member_identifier Transaction_prepared_action_packet::m_gcs_member_id

◆ m_gno

const rpl_gno Transaction_prepared_action_packet::m_gno

◆ m_sid

rpl_sid Transaction_prepared_action_packet::m_sid
private

◆ m_sid_specified

const bool Transaction_prepared_action_packet::m_sid_specified

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