MySQL 8.4.2
Source Code Documentation
gr_message_service_example.cc File Reference

Functions

mysql_service_status_t recv (const char *tag, const unsigned char *data, size_t data_length) noexcept
 
bool register_gr_message_service_recv ()
 
bool unregister_gr_message_service_recv ()
 
static std::string send_udf_name ("group_replication_service_message_send")
 
bool gr_service_message_example_init ()
 This function register examples that uses services recv and send of Group replication. More...
 
bool gr_service_message_example_deinit ()
 This function unregister examples that uses services recv and send of Group replication. More...
 

Variables

const mysql_service_group_replication_message_service_recv_t imp_replication_observers_example_group_replication_message_service_recv
 
GR_message_service_send_example example_service_send
 

Function Documentation

◆ gr_service_message_example_deinit()

bool gr_service_message_example_deinit ( )

This function unregister examples that uses services recv and send of Group replication.

Returns
false success, true on failure.

◆ gr_service_message_example_init()

bool gr_service_message_example_init ( )

This function register examples that uses services recv and send of Group replication.

Returns
false success, true on failure.

◆ recv()

mysql_service_status_t recv ( const char *  tag,
const unsigned char *  data,
size_t  data_length 
)
noexcept

◆ register_gr_message_service_recv()

bool register_gr_message_service_recv ( )

◆ send_udf_name()

static std::string send_udf_name ( "group_replication_service_message_send"  )
static

◆ unregister_gr_message_service_recv()

bool unregister_gr_message_service_recv ( )

Variable Documentation

◆ example_service_send

GR_message_service_send_example example_service_send

◆ imp_replication_observers_example_group_replication_message_service_recv

const mysql_service_group_replication_message_service_recv_t imp_replication_observers_example_group_replication_message_service_recv
Initial value:
= {
recv, }
mysql_service_status_t recv(const char *tag, const unsigned char *data, size_t data_length) noexcept
Definition: gr_message_service_example.cc:39