![]() |
MySQL 9.2.0
Source Code Documentation
|
Information about incoming session. More...
#include <routing_guidelines.h>
Public Attributes | |
std::string | target_ip |
address of the Router the session is connected to More... | |
int | target_port {0} |
Router port the session is connected to. More... | |
std::string | source_ip |
IP address the session is connecting from. More... | |
std::string | user |
username the session is authenticated with More... | |
std::map< std::string, std::string, std::less<> > | connect_attrs |
session connect attributes by name More... | |
std::string | schema |
default schema specified at connect time More... | |
uint64_t | id {0} |
an auto-incremented integer number assigned by the router to each session More... | |
double | random_value {0} |
random value in a range [0-1) More... | |
Information about incoming session.
std::map<std::string, std::string, std::less<> > routing_guidelines::Session_info::connect_attrs |
session connect attributes by name
uint64_t routing_guidelines::Session_info::id {0} |
an auto-incremented integer number assigned by the router to each session
double routing_guidelines::Session_info::random_value {0} |
random value in a range [0-1)
std::string routing_guidelines::Session_info::schema |
default schema specified at connect time
std::string routing_guidelines::Session_info::source_ip |
IP address the session is connecting from.
std::string routing_guidelines::Session_info::target_ip |
address of the Router the session is connected to
int routing_guidelines::Session_info::target_port {0} |
Router port the session is connected to.
std::string routing_guidelines::Session_info::user |
username the session is authenticated with