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

#include <routing_component.h>

Public Types

using time_point_type = std::chrono::time_point< std::chrono::system_clock >
 

Public Member Functions

 ConnData ()=default
 
 ConnData (std::string src, std::string dst, 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 src
 
std::string dst
 
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
 

Member Typedef Documentation

◆ time_point_type

using MySQLRoutingAPI::ConnData::time_point_type = std::chrono::time_point<std::chrono::system_clock>

Constructor & Destructor Documentation

◆ ConnData() [1/2]

MySQLRoutingAPI::ConnData::ConnData ( )
default

◆ ConnData() [2/2]

MySQLRoutingAPI::ConnData::ConnData ( std::string  src,
std::string  dst,
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 MySQLRoutingAPI::ConnData::bytes_down

◆ bytes_up

std::size_t MySQLRoutingAPI::ConnData::bytes_up

◆ connected_to_server

time_point_type MySQLRoutingAPI::ConnData::connected_to_server

◆ dst

std::string MySQLRoutingAPI::ConnData::dst

◆ last_received_from_server

time_point_type MySQLRoutingAPI::ConnData::last_received_from_server

◆ last_sent_to_server

time_point_type MySQLRoutingAPI::ConnData::last_sent_to_server

◆ src

std::string MySQLRoutingAPI::ConnData::src

◆ started

time_point_type MySQLRoutingAPI::ConnData::started

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