MySQL 8.0.39
Source Code Documentation
GRNotificationListener Class Reference

#include <gr_notifications_listener.h>

Classes

struct  Impl
 

Public Types

using NotificationClb = std::function< void()>
 

Public Member Functions

 GRNotificationListener (const mysqlrouter::UserCredentials &user_credentials)
 
 ~GRNotificationListener ()
 
 GRNotificationListener (GRNotificationListener &)=delete
 
GRNotificationListeneroperator= (GRNotificationListener &)=delete
 
void setup (const metadata_cache::ClusterTopology &cluster_topology, const NotificationClb &notification_clb)
 

Private Attributes

std::unique_ptr< Implimpl_
 

Member Typedef Documentation

◆ NotificationClb

using GRNotificationListener::NotificationClb = std::function<void()>

Constructor & Destructor Documentation

◆ GRNotificationListener() [1/2]

GRNotificationListener::GRNotificationListener ( const mysqlrouter::UserCredentials user_credentials)

◆ ~GRNotificationListener()

GRNotificationListener::~GRNotificationListener ( )
default

◆ GRNotificationListener() [2/2]

GRNotificationListener::GRNotificationListener ( GRNotificationListener )
delete

Member Function Documentation

◆ operator=()

GRNotificationListener & GRNotificationListener::operator= ( GRNotificationListener )
delete

◆ setup()

void GRNotificationListener::setup ( const metadata_cache::ClusterTopology cluster_topology,
const NotificationClb notification_clb 
)

Member Data Documentation

◆ impl_

std::unique_ptr<Impl> GRNotificationListener::impl_
private

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