|
Clementine
|
An entry produced by a resolver. More...
#include <basic_resolver_entry.hpp>
Public Types | |
| typedef InternetProtocol | protocol_type |
| The protocol type associated with the endpoint entry. | |
| typedef InternetProtocol::endpoint | endpoint_type |
| The endpoint type associated with the endpoint entry. | |
Public Member Functions | |
| basic_resolver_entry () | |
| Default constructor. | |
| basic_resolver_entry (const endpoint_type &ep, ASIO_STRING_VIEW_PARAM host, ASIO_STRING_VIEW_PARAM service) | |
| Construct with specified endpoint, host name and service name. | |
| endpoint_type | endpoint () const |
| Get the endpoint associated with the entry. | |
| operator endpoint_type () const | |
| Convert to the endpoint associated with the entry. | |
| std::string | host_name () const |
| Get the host name associated with the entry. | |
| template<class Allocator > | |
| std::basic_string< char, std::char_traits< char >, Allocator > | host_name (const Allocator &alloc=Allocator()) const |
| Get the host name associated with the entry. | |
| std::string | service_name () const |
| Get the service name associated with the entry. | |
| template<class Allocator > | |
| std::basic_string< char, std::char_traits< char >, Allocator > | service_name (const Allocator &alloc=Allocator()) const |
| Get the service name associated with the entry. | |
An entry produced by a resolver.
The asio::ip::basic_resolver_entry class template describes an entry as returned by a resolver.
1.8.13