A convenience context class used to share information between the event handlers and the notifier.
Definition: notification.h:35
void set_view_id(const std::string &v)
Definition: notification.h:61
bool get_member_role_changed() const
Definition: notification.h:63
const std::string & get_view_id() const
Definition: notification.h:67
std::string m_view_id
Definition: notification.h:41
bool m_member_state_changed
Definition: notification.h:38
bool get_view_changed() const
Definition: notification.h:66
void reset()
Definition: notification.h:51
bool m_quorum_lost
Definition: notification.h:39
void set_quorum_lost()
Definition: notification.h:59
bool m_member_role_changed
Definition: notification.h:37
void set_view_changed()
Definition: notification.h:60
bool m_view_changed
Definition: notification.h:40
bool get_quorum_lost() const
Definition: notification.h:65
bool get_member_state_changed() const
Definition: notification.h:64
void set_member_state_changed()
Definition: notification.h:58
Notification_context()
Definition: notification.h:44
void set_member_role_changed()
Definition: notification.h:57
bool notify_and_reset_ctx(Notification_context &ctx)
This function SHALL trigger the notifications based on the notification context provided as an argume...
Definition: notification.cc:205