MySQL  8.0.19
Source Code Documentation
Packet Class Reference

#include <pipeline_interfaces.h>

Inheritance diagram for Packet:
Action_packet Data_packet Leaving_members_action_packet Single_primary_action_packet Sync_before_execution_action_packet Transaction_prepared_action_packet View_change_packet Queue_checkpoint_packet

Public Member Functions

 Packet (int type)
 Create a new generic packet of a certain type. More...
 
virtual ~Packet ()
 
int get_packet_type ()
 

Private Attributes

int packet_type
 

Detailed Description

A generic interface for different kinds of packets.

Constructor & Destructor Documentation

◆ Packet()

Packet::Packet ( int  type)
inline

Create a new generic packet of a certain type.

Parameters
[in]typethe packet type

◆ ~Packet()

virtual Packet::~Packet ( )
inlinevirtual

Member Function Documentation

◆ get_packet_type()

int Packet::get_packet_type ( )
inline
Returns
the packet type

Member Data Documentation

◆ packet_type

int Packet::packet_type
private

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