#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   | 
  
 
 
◆ 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()
template<class F > 
  
  
      
        
          | 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()
  
  
      
        
          | virtual std::string MySQLRoutingConnectionBase::get_destination_id  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
pure virtual   | 
  
 
 
◆ 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_server_address()
  
  
      
        
          | std::string MySQLRoutingConnectionBase::get_server_address  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Returns address of server to which connection is established. 
- Returns
 - address of server 
 
 
 
◆ get_started()
◆ get_stats()
  
  
      
        
          | Stats MySQLRoutingConnectionBase::get_stats  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
 
◆ log_connection_summary()
  
  
      
        
          | void MySQLRoutingConnectionBase::log_connection_summary  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
protected   | 
  
 
 
◆ read_only_destination_endpoint()
  
  
      
        
          | virtual std::optional< net::ip::tcp::endpoint > MySQLRoutingConnectionBase::read_only_destination_endpoint  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ read_only_destination_id()
  
  
      
        
          | virtual std::string MySQLRoutingConnectionBase::read_only_destination_id  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ read_write_destination_endpoint()
  
  
      
        
          | virtual std::optional< net::ip::tcp::endpoint > MySQLRoutingConnectionBase::read_write_destination_endpoint  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ read_write_destination_id()
  
  
      
        
          | virtual std::string MySQLRoutingConnectionBase::read_write_destination_id  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ server_address()
  
  
      
        
          | void MySQLRoutingConnectionBase::server_address  | 
          ( | 
          const std::string &  | 
          dest | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ transfered_to_client()
  
  
      
        
          | void MySQLRoutingConnectionBase::transfered_to_client  | 
          ( | 
          size_t  | 
          bytes | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ transfered_to_server()
  
  
      
        
          | void MySQLRoutingConnectionBase::transfered_to_server  | 
          ( | 
          size_t  | 
          bytes | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ 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 
 
 
◆ stats_
The documentation for this class was generated from the following files: