MySQL 9.1.0
Source Code Documentation
|
Notification used to inform that has been a change in XCOM's state machine such as it has started up or shut down. More...
#include <gcs_xcom_notification.h>
Public Member Functions | |
Status_notification (xcom_status_functor *functor, int status) | |
Constructor for Status_notification. More... | |
~Status_notification () override | |
Destructor for Status_notification. More... | |
Public Member Functions inherited from Parameterized_notification< false > | |
Parameterized_notification ()=default | |
Constructor for Parameterized_notification. More... | |
~Parameterized_notification () override=default | |
Destructor for Parameterized_notification. More... | |
bool | operator() () override |
Task implemented by this notification which calls do_execute. More... | |
Public Member Functions inherited from Gcs_xcom_notification | |
Gcs_xcom_notification ()=default | |
Constructor for Gcs_xcom_notification which an abstract class that represents notifications sent from XCOM to MySQL GCS. More... | |
virtual | ~Gcs_xcom_notification ()=default |
Destructor for the Gcs_xcom_notification. More... | |
Private Member Functions | |
void | do_execute () override |
Task implemented by this notification. More... | |
Status_notification (Status_notification const &) | |
Status_notification & | operator= (Status_notification const &) |
Private Attributes | |
xcom_status_functor * | m_functor |
int | m_status |
Notification used to inform that has been a change in XCOM's state machine such as it has started up or shut down.
|
explicit |
Constructor for Status_notification.
functor | Pointer to a function that contains that actual core of the execution. |
status | XCOM's status. |
|
overridedefault |
Destructor for Status_notification.
|
private |
|
overrideprivatevirtual |
Task implemented by this notification.
Implements Parameterized_notification< false >.
|
private |
|
private |
|
private |