MXS-2271 All monitors inherit from MXS_MONITOR

Most of the API entrypoints are replaced with virtual functions.
This commit is contained in:
Esa Korhonen
2019-01-18 17:27:41 +02:00
parent 17fc2ba88a
commit dadb6a1a79
19 changed files with 94 additions and 118 deletions

View File

@ -60,12 +60,12 @@ public:
~ClustrixMonitor();
static ClustrixMonitor* create(MXS_MONITOR* pMonitor);
static ClustrixMonitor* create();
bool configure(const MXS_CONFIG_PARAMETER* pParams) override;
private:
ClustrixMonitor(MXS_MONITOR* pMonitor);
ClustrixMonitor();
void pre_loop() override;
void post_loop() override;