MySQL 8.4.2
Source Code Documentation
Gms_listener_test Class Reference

#include <gms_listener_test.h>

Inheritance diagram for Gms_listener_test:
[legend]

Public Member Functions

 Gms_listener_test ()=default
 
virtual ~Gms_listener_test () override=default
 
void run (Mysql_thread_body_parameters *parameters) override
 Method that will be run on mysql_thread. More...
 
bool log_notification_to_test_table (const std::string &message)
 Log the notification message to the test table. More...
 

Additional Inherited Members

- Private Member Functions inherited from Mysql_thread_body
virtual ~Mysql_thread_body ()
 

Constructor & Destructor Documentation

◆ Gms_listener_test()

Gms_listener_test::Gms_listener_test ( )
default

◆ ~Gms_listener_test()

virtual Gms_listener_test::~Gms_listener_test ( )
overridevirtualdefault

Member Function Documentation

◆ log_notification_to_test_table()

bool Gms_listener_test::log_notification_to_test_table ( const std::string &  message)

Log the notification message to the test table.

This method will run on the MySQL session of the global mysql_thread_handler, which is already prepared to be directly use by the Sql_service_interface.

Parameters
[in]messageMessage to add to the table
Returns
the error value returned
Return values
falseOK
trueError

◆ run()

void Gms_listener_test::run ( Mysql_thread_body_parameters parameters)
overridevirtual

Method that will be run on mysql_thread.

Parameters
[in,out]parametersValues used by method to get service variable.

Implements Mysql_thread_body.


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