MySQL  8.0.23
Source Code Documentation
Data_packet Class Reference

#include <pipeline_interfaces.h>

Inheritance diagram for Data_packet:

Public Member Functions

 Data_packet (const uchar *data, ulong len, enum_group_replication_consistency_level consistency_level=GROUP_REPLICATION_CONSISTENCY_EVENTUAL, std::list< Gcs_member_identifier > *online_members=nullptr)
 Create a new data packet wrapper. More...
 ~Data_packet () override
- Public Member Functions inherited from Packet
 Packet (int type)
 Create a new generic packet of a certain type. More...
virtual ~Packet ()
int get_packet_type ()

Public Attributes

ulong len
const enum_group_replication_consistency_level m_consistency_level
std::list< Gcs_member_identifier > * m_online_members

Detailed Description

A wrapper for raw network packets.

Constructor & Destructor Documentation

◆ Data_packet()

Data_packet::Data_packet ( const uchar data,
ulong  len,
enum_group_replication_consistency_level  consistency_level = GROUP_REPLICATION_CONSISTENCY_EVENTUAL,
std::list< Gcs_member_identifier > *  online_members = nullptr 

Create a new data packet wrapper.

[in]datathe packet data
[in]lenthe packet length
[in]consistency_levelthe transaction consistency level
[in]online_membersthe ONLINE members when the transaction message was delivered

◆ ~Data_packet()

Data_packet::~Data_packet ( )

Member Data Documentation

◆ len

ulong Data_packet::len

◆ m_consistency_level

const enum_group_replication_consistency_level Data_packet::m_consistency_level

◆ m_online_members

std::list<Gcs_member_identifier>* Data_packet::m_online_members

◆ payload

uchar* Data_packet::payload

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