MySQL 8.4.2
Source Code Documentation
net::ip::basic_resolver_entry< InternetProtocol > Class Template Reference

endpoint of IPv4/IPv6 based connection. More...

#include <internet.h>

Public Types

using protocol_type = InternetProtocol
 
using endpoint_type = typename protocol_type::endpoint
 

Public Member Functions

 basic_resolver_entry ()=default
 
 basic_resolver_entry (const endpoint_type &ep, std::string host_name, std::string service_name)
 
endpoint_type endpoint () const
 
std::string host_name () const
 
std::string service_name () const
 

Private Attributes

endpoint_type ep_
 
std::string host_name_
 
std::string service_name_
 

Detailed Description

template<typename InternetProtocol>
class net::ip::basic_resolver_entry< InternetProtocol >

endpoint of IPv4/IPv6 based connection.

Member Typedef Documentation

◆ endpoint_type

template<typename InternetProtocol >
using net::ip::basic_resolver_entry< InternetProtocol >::endpoint_type = typename protocol_type::endpoint

◆ protocol_type

template<typename InternetProtocol >
using net::ip::basic_resolver_entry< InternetProtocol >::protocol_type = InternetProtocol

Constructor & Destructor Documentation

◆ basic_resolver_entry() [1/2]

template<typename InternetProtocol >
net::ip::basic_resolver_entry< InternetProtocol >::basic_resolver_entry ( )
default

◆ basic_resolver_entry() [2/2]

template<typename InternetProtocol >
net::ip::basic_resolver_entry< InternetProtocol >::basic_resolver_entry ( const endpoint_type ep,
std::string  host_name,
std::string  service_name 
)
inline

Member Function Documentation

◆ endpoint()

template<typename InternetProtocol >
endpoint_type net::ip::basic_resolver_entry< InternetProtocol >::endpoint ( ) const
inline

◆ host_name()

template<typename InternetProtocol >
std::string net::ip::basic_resolver_entry< InternetProtocol >::host_name ( ) const
inline

◆ service_name()

template<typename InternetProtocol >
std::string net::ip::basic_resolver_entry< InternetProtocol >::service_name ( ) const
inline

Member Data Documentation

◆ ep_

template<typename InternetProtocol >
endpoint_type net::ip::basic_resolver_entry< InternetProtocol >::ep_
private

◆ host_name_

template<typename InternetProtocol >
std::string net::ip::basic_resolver_entry< InternetProtocol >::host_name_
private

◆ service_name_

template<typename InternetProtocol >
std::string net::ip::basic_resolver_entry< InternetProtocol >::service_name_
private

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