26#ifndef MYSQL_HARNESS_DESTINATION_ENDPOINT_INCLUDED 
   27#define MYSQL_HARNESS_DESTINATION_ENDPOINT_INCLUDED 
   29#include "harness_export.h" 
   47  bool is_tcp()
 const { 
return std::holds_alternative<TcpType>(ep_); }
 
   56  std::string 
str() 
const;
 
   59  std::variant<TcpType, LocalType> 
ep_;
 
local::basic_endpoint< stream_protocol > endpoint
Definition: local.h:303
 
Definition: destination_endpoint.h:38
 
DestinationEndpoint()
Definition: destination_endpoint.h:43
 
TcpType & as_tcp()
Definition: destination_endpoint.h:50
 
const TcpType & as_tcp() const
Definition: destination_endpoint.h:51
 
bool is_local() const
Definition: destination_endpoint.h:48
 
std::variant< TcpType, LocalType > ep_
Definition: destination_endpoint.h:59
 
DestinationEndpoint(TcpType ep)
Definition: destination_endpoint.h:44
 
LocalType & as_local()
Definition: destination_endpoint.h:53
 
DestinationEndpoint(LocalType ep)
Definition: destination_endpoint.h:45
 
bool is_tcp() const
Definition: destination_endpoint.h:47
 
const LocalType & as_local() const
Definition: destination_endpoint.h:54
 
Definition: internet.h:678
 
basic_endpoint< tcp > endpoint
Definition: internet.h:1157
 
std::string str(const mysqlrouter::ConfigGenerator::Options::Endpoint &ep)
Definition: config_generator.cc:1078
 
Definition: gcs_xcom_synode.h:64