MySQL 8.4.4
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
MySQLRoutingConnectionBase::Stats Struct Reference

#include <connection.h>

Public Member Functions

 Stats ()=default
 
 Stats (std::string client_address, std::string server_address, std::size_t bytes_up, std::size_t bytes_down, time_point_type started, time_point_type connected_to_server, time_point_type last_sent_to_server, time_point_type last_received_from_server)
 

Public Attributes

std::string client_address
 
std::string server_address
 
std::size_t bytes_up {0}
 
std::size_t bytes_down {0}
 
time_point_type started {clock_type::now()}
 
time_point_type connected_to_server
 
time_point_type last_sent_to_server
 
time_point_type last_received_from_server
 

Constructor & Destructor Documentation

◆ Stats() [1/2]

MySQLRoutingConnectionBase::Stats::Stats ( )
default

◆ Stats() [2/2]

MySQLRoutingConnectionBase::Stats::Stats ( std::string  client_address,
std::string  server_address,
std::size_t  bytes_up,
std::size_t  bytes_down,
time_point_type  started,
time_point_type  connected_to_server,
time_point_type  last_sent_to_server,
time_point_type  last_received_from_server 
)
inline

Member Data Documentation

◆ bytes_down

std::size_t MySQLRoutingConnectionBase::Stats::bytes_down {0}

◆ bytes_up

std::size_t MySQLRoutingConnectionBase::Stats::bytes_up {0}

◆ client_address

std::string MySQLRoutingConnectionBase::Stats::client_address

◆ connected_to_server

time_point_type MySQLRoutingConnectionBase::Stats::connected_to_server

◆ last_received_from_server

time_point_type MySQLRoutingConnectionBase::Stats::last_received_from_server

◆ last_sent_to_server

time_point_type MySQLRoutingConnectionBase::Stats::last_sent_to_server

◆ server_address

std::string MySQLRoutingConnectionBase::Stats::server_address

◆ started

time_point_type MySQLRoutingConnectionBase::Stats::started {clock_type::now()}

The documentation for this struct was generated from the following file: