#include <src/common/dns_utils.hpp>
|
std::string | mInstanceName |
| Instance name, or empty if the DNS name is not a service instance.
|
|
std::string | mServiceName |
| Service name, or empty if the DNS name is not a service or service instance.
|
|
std::string | mHostName |
| Host name, or empty if the DNS name is not a host name.
|
|
std::string | mDomain |
| Domain name.
|
|
This structure represents DNS Name information.
- See also
- SplitFullDnsName
◆ IsHost()
bool DnsNameInfo::IsHost |
( |
void |
| ) |
const |
|
inline |
This method returns if the DNS name is a host.
- Returns
- Whether the DNS name is a host.
◆ IsService()
bool DnsNameInfo::IsService |
( |
void |
| ) |
const |
|
inline |
This method returns if the DNS name is a service.
- Returns
- Whether the DNS name is a service.
◆ IsServiceInstance()
bool DnsNameInfo::IsServiceInstance |
( |
void |
| ) |
const |
|
inline |
This method returns if the DNS name is a service instance.
- Returns
- Whether the DNS name is a service instance.
The documentation for this struct was generated from the following file: