MySQL  8.0.23
Source Code Documentation
Gcs_communication_event_listener Class Referenceabstract

#include <gcs_communication_event_listener.h>

Inheritance diagram for Gcs_communication_event_listener:

Public Member Functions

virtual void on_message_received (const Gcs_message &message) const =0
 This method is called whenever a message is to be delivered. More...
virtual ~Gcs_communication_event_listener ()

Detailed Description

This interface is implemented by those who wish to receive messages.

Please check a working example in Gcs_communication_interface.

Constructor & Destructor Documentation

◆ ~Gcs_communication_event_listener()

virtual Gcs_communication_event_listener::~Gcs_communication_event_listener ( )

Member Function Documentation

◆ on_message_received()

virtual void Gcs_communication_event_listener::on_message_received ( const Gcs_message message) const
pure virtual

This method is called whenever a message is to be delivered.

[in]messageThe received message. This is currently a reference to avoid the existence of dangling pointers.

Implemented in Plugin_gcs_events_handler.

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