MySQL 9.1.0
Source Code Documentation
Packet Class Reference

A generic interface for different kinds of packets. More...

#include <pipeline_interfaces.h>

Inheritance diagram for Packet:
[legend]

Public Member Functions

 Packet (int type)
 Create a new generic packet of a certain type. More...
 
virtual ~Packet ()=default
 
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 ( )
virtualdefault

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: