MySQL 9.1.0
Source Code Documentation
Gcs_communication_event_listener Class Referenceabstract

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

#include <gcs_communication_event_listener.h>

Inheritance diagram for Gcs_communication_event_listener:
[legend]

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

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

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.

Parameters
[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: