MySQL 9.1.0
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:
[legend]

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...
 
 ~Single_primary_action_packet () override=default
 
- 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

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()

Single_primary_action_packet::~Single_primary_action_packet ( )
overridedefault

Member Data Documentation

◆ action

enum enum_action Single_primary_action_packet::action

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