MySQL 8.0.39
Source Code Documentation
|
#include <composite_message_handler.h>
Static Public Member Functions | |
static std::function< bool(const Mysql::Tools::Base::Message_data &)> * | create_composite_handler (const std::vector< std::function< bool(const Mysql::Tools::Base::Message_data &)> * > &message_handlers) |
Private Member Functions | |
Composite_message_handler (const std::vector< std::function< bool(const Mysql::Tools::Base::Message_data &)> * > &message_handlers) | |
bool | pass_message (const Mysql::Tools::Base::Message_data &message_data) |
Passes message to message callbacks in reverse order, stopping on first handler to declare message consumed. More... | |
Private Attributes | |
std::vector< std::function< bool(const Mysql::Tools::Base::Message_data &)> * > | m_message_handlers |
|
explicitprivate |
|
static |
|
private |
Passes message to message callbacks in reverse order, stopping on first handler to declare message consumed.
|
private |