MySQL 9.1.0
Source Code Documentation
router_app.h File Reference

Defining the main class MySQLRouter. More...

#include "mysqlrouter/router_export.h"
#include "mysql/harness/arg_handler.h"
#include "mysql/harness/loader.h"
#include "mysql/harness/signal_handler.h"
#include "mysqlrouter/keyring_info.h"
#include "mysqlrouter/sys_user_operations.h"
#include <cstdint>
#include <iostream>
#include <stdexcept>
#include <vector>

Go to the source code of this file.

Classes

class  MySQLRouter
 Manage the MySQL Router application. More...
 
class  silent_exception
 

Functions

void expose_router_configuration (const bool initial, const mysql_harness::ConfigSection &section)
 Expose the configured application-level options (the ones from [DEFAULT] section that are not specific to any particular plugin and are relevant from the Cluster metadata perspective) More...
 

Variables

static const size_t kHelpScreenWidth = 72
 
static const size_t kHelpScreenIndent = 8
 
static const std::string kSystemRouterName = "system"
 
static const std::string kDefaultSystemUserName = ""
 

Detailed Description

Defining the main class MySQLRouter.

This file defines the main class MySQLRouter.

Function Documentation

◆ expose_router_configuration()

void expose_router_configuration ( const bool  initial,
const mysql_harness::ConfigSection section 
)

Expose the configured application-level options (the ones from [DEFAULT] section that are not specific to any particular plugin and are relevant from the Cluster metadata perspective)

Variable Documentation

◆ kDefaultSystemUserName

const std::string kDefaultSystemUserName = ""
static

◆ kHelpScreenIndent

const size_t kHelpScreenIndent = 8
static

◆ kHelpScreenWidth

const size_t kHelpScreenWidth = 72
static

◆ kSystemRouterName

const std::string kSystemRouterName = "system"
static