MySQL  8.0.20
Source Code Documentation
Single_primary_action_packet Class Reference

A packet to send new primary election related info to the applier. More...

#include <applier.h>

Inheritance diagram for Single_primary_action_packet:
Packet

Public Types

enum  enum_action { NEW_PRIMARY = 0, QUEUE_APPLIED = 1 }
 

Public Member Functions

 Single_primary_action_packet (enum enum_action action_arg)
 Create a new single primary action packet with associated data. More...
 
virtual ~Single_primary_action_packet ()
 
- 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

enum enum_action action
 

Detailed Description

A packet to send new primary election related info to the applier.

Member Enumeration Documentation

◆ enum_action

Enumerator
NEW_PRIMARY 
QUEUE_APPLIED 

Constructor & Destructor Documentation

◆ Single_primary_action_packet()

Single_primary_action_packet::Single_primary_action_packet ( enum enum_action  action_arg)
inline

Create a new single primary action packet with associated data.

Parameters
action_argthe packet action

◆ ~Single_primary_action_packet()

virtual Single_primary_action_packet::~Single_primary_action_packet ( )
inlinevirtual

Member Data Documentation

◆ action

enum enum_action Single_primary_action_packet::action

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