#include <connection.h>
◆ clock_type
◆ time_point_type
◆ MySQLRoutingConnectionBase()
◆ ~MySQLRoutingConnectionBase()
  
  
      
        
          | virtual MySQLRoutingConnectionBase::~MySQLRoutingConnectionBase  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtualdefault   | 
  
 
 
◆ accepted()
      
        
          | void MySQLRoutingConnectionBase::accepted  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ client_address()
  
  
      
        
          | void MySQLRoutingConnectionBase::client_address  | 
          ( | 
          const std::string &  | 
          dest | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ completed()
  
  
      
        
          | virtual void MySQLRoutingConnectionBase::completed  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ connected()
  
  
      
        
          | void MySQLRoutingConnectionBase::connected  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ context() [1/2]
◆ context() [2/2]
◆ destination_endpoint()
◆ disassociate()
  
  
      
        
          | void MySQLRoutingConnectionBase::disassociate  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ disconnect()
  
  
      
        
          | virtual void MySQLRoutingConnectionBase::disconnect  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ disconnect_request()
  
  
      
        
          | auto MySQLRoutingConnectionBase::disconnect_request  | 
          ( | 
          F &&  | 
          f | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ disconnect_requested()
  
  
      
        
          | bool MySQLRoutingConnectionBase::disconnect_requested  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ get_bytes_down()
  
  
      
        
          | std::size_t MySQLRoutingConnectionBase::get_bytes_down  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ get_bytes_up()
  
  
      
        
          | std::size_t MySQLRoutingConnectionBase::get_bytes_up  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ get_client_address()
  
  
      
        
          | std::string MySQLRoutingConnectionBase::get_client_address  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Returns address of client which connected to router. 
- Returns
 - address of client 
 
 
 
◆ get_client_fd()
◆ get_connected_to_server()
  
  
      
        
          | time_point_type MySQLRoutingConnectionBase::get_connected_to_server  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ get_destination_id()
◆ get_last_received_from_server()
  
  
      
        
          | time_point_type MySQLRoutingConnectionBase::get_last_received_from_server  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ get_last_sent_to_server()
  
  
      
        
          | time_point_type MySQLRoutingConnectionBase::get_last_sent_to_server  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ get_routing_source()
  
  
      
        
          | virtual std::string MySQLRoutingConnectionBase::get_routing_source  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ get_server_address()
  
  
      
        
          | std::string MySQLRoutingConnectionBase::get_server_address  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Returns address of server to which connection is established. 
- Returns
 - address of server 
 
 
 
◆ get_server_info()
◆ get_session_info()
◆ get_started()
◆ get_stats()
  
  
      
        
          | Stats MySQLRoutingConnectionBase::get_stats  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ log_connection_summary()
  
  
      
        
          | void MySQLRoutingConnectionBase::log_connection_summary  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ read_only_destination_endpoint()
◆ read_only_destination_id()
◆ read_write_destination_endpoint()
◆ read_write_destination_id()
◆ server_address()
  
  
      
        
          | void MySQLRoutingConnectionBase::server_address  | 
          ( | 
          const std::string &  | 
          dest | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ set_routing_guidelines_session_rand()
      
        
          | void MySQLRoutingConnectionBase::set_routing_guidelines_session_rand  | 
          ( | 
           | ) | 
           | 
        
      
 
 
◆ set_routing_source()
  
  
      
        
          | virtual void MySQLRoutingConnectionBase::set_routing_source  | 
          ( | 
          std::string  | 
          name | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ transfered_to_client()
  
  
      
        
          | void MySQLRoutingConnectionBase::transfered_to_client  | 
          ( | 
          size_t  | 
          bytes | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ transfered_to_server()
  
  
      
        
          | void MySQLRoutingConnectionBase::transfered_to_server  | 
          ( | 
          size_t  | 
          bytes | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ wait_until_completed()
  
  
      
        
          | virtual void MySQLRoutingConnectionBase::wait_until_completed  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ client_fd_
◆ context_
wrapper for common data used by all routing threads 
 
 
◆ disconnect_
  
  
      
        
          | Monitor<bool> MySQLRoutingConnectionBase::disconnect_ {{}} | 
         
       
   | 
  
protected   | 
  
 
 
◆ remove_callback_
callback that is called when thread of execution completes 
 
 
◆ routing_guidelines_session_rand_
  
  
      
        
          | std::optional<double> MySQLRoutingConnectionBase::routing_guidelines_session_rand_ | 
         
       
   | 
  
private   | 
  
 
 
◆ stats_
The documentation for this class was generated from the following files: