MySQL 9.2.0
Source Code Documentation
mysql_harness::DestinationEndpoint Class Reference

#include <destination_endpoint.h>

Public Types

using TcpType = net::ip::tcp::endpoint
 
using LocalType = local::stream_protocol::endpoint
 

Public Member Functions

 DestinationEndpoint ()
 
 DestinationEndpoint (TcpType ep)
 
 DestinationEndpoint (LocalType ep)
 
bool is_tcp () const
 
bool is_local () const
 
TcpTypeas_tcp ()
 
const TcpTypeas_tcp () const
 
LocalTypeas_local ()
 
const LocalTypeas_local () const
 
std::string str () const
 

Private Attributes

std::variant< TcpType, LocalTypeep_
 

Member Typedef Documentation

◆ LocalType

◆ TcpType

Constructor & Destructor Documentation

◆ DestinationEndpoint() [1/3]

mysql_harness::DestinationEndpoint::DestinationEndpoint ( )
inlineexplicit

◆ DestinationEndpoint() [2/3]

mysql_harness::DestinationEndpoint::DestinationEndpoint ( TcpType  ep)
inlineexplicit

◆ DestinationEndpoint() [3/3]

mysql_harness::DestinationEndpoint::DestinationEndpoint ( LocalType  ep)
inlineexplicit

Member Function Documentation

◆ as_local() [1/2]

LocalType & mysql_harness::DestinationEndpoint::as_local ( )
inline

◆ as_local() [2/2]

const LocalType & mysql_harness::DestinationEndpoint::as_local ( ) const
inline

◆ as_tcp() [1/2]

TcpType & mysql_harness::DestinationEndpoint::as_tcp ( )
inline

◆ as_tcp() [2/2]

const TcpType & mysql_harness::DestinationEndpoint::as_tcp ( ) const
inline

◆ is_local()

bool mysql_harness::DestinationEndpoint::is_local ( ) const
inline

◆ is_tcp()

bool mysql_harness::DestinationEndpoint::is_tcp ( ) const
inline

◆ str()

std::string mysql_harness::DestinationEndpoint::str ( ) const

Member Data Documentation

◆ ep_

std::variant<TcpType, LocalType> mysql_harness::DestinationEndpoint::ep_
private

The documentation for this class was generated from the following files: