MySQL 9.1.0
Source Code Documentation
GR_message_service_send_example Class Reference

An example implementation of a module that uses GR send service. More...

#include <gr_message_service_example.h>

Public Member Functions

bool register_example ()
 Register send method to send service message from GR. More...
 
bool unregister_example ()
 Unregister send method, will not allow send service message from GR. More...
 

Static Public Member Functions

static char * udf (UDF_INIT *, UDF_ARGS *args, char *result, unsigned long *length, unsigned char *, unsigned char *)
 UDF that will be called to send data to Group Replication send service. More...
 
static bool udf_init (UDF_INIT *init_id, UDF_ARGS *args, char *message)
 UDF initialization procedure. More...
 

Detailed Description

An example implementation of a module that uses GR send service.

Member Function Documentation

◆ register_example()

bool GR_message_service_send_example::register_example ( )

Register send method to send service message from GR.

Returns
false success, true on failure.

◆ udf()

char * GR_message_service_send_example::udf ( UDF_INIT ,
UDF_ARGS args,
char *  result,
unsigned long *  length,
unsigned char *  ,
unsigned char *   
)
static

UDF that will be called to send data to Group Replication send service.

Returns
false success, true on failure.

◆ udf_init()

bool GR_message_service_send_example::udf_init ( UDF_INIT init_id,
UDF_ARGS args,
char *  message 
)
static

UDF initialization procedure.

Returns
false success, true on failure.

◆ unregister_example()

bool GR_message_service_send_example::unregister_example ( )

Unregister send method, will not allow send service message from GR.

Returns
false success, true on failure.

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