MySQL 8.0.40
Source Code Documentation
Data_packet Class Reference

A wrapper for raw network packets. More...

#include <pipeline_interfaces.h>

Inheritance diagram for Data_packet:
[legend]

Public Member Functions

 Data_packet (const uchar *data, ulong len, PSI_memory_key key, 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 ()=default
 
int get_packet_type ()
 

Public Attributes

ucharpayload
 
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,
PSI_memory_key  key,
enum_group_replication_consistency_level  consistency_level = GROUP_REPLICATION_CONSISTENCY_EVENTUAL,
std::list< Gcs_member_identifier > *  online_members = nullptr 
)
inline

Create a new data packet wrapper.

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

◆ ~Data_packet()

Data_packet::~Data_packet ( )
inlineoverride

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: