| Reference | Class Hierarchy | Class Index | Member Index |
The asio::ip::basic_resolver_entry class template describes an entry as returned by a resolver.
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 &endpoint, const std::string &host_name, const std::string &service_name) | |
| 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. | |
| std::string | service_name () const |
| Get the service name associated with the entry. | |
| typedef InternetProtocol asio::ip::basic_resolver_entry< InternetProtocol >::protocol_type |
The protocol type associated with the endpoint entry.
| typedef InternetProtocol::endpoint asio::ip::basic_resolver_entry< InternetProtocol >::endpoint_type |
The endpoint type associated with the endpoint entry.
| asio::ip::basic_resolver_entry< InternetProtocol >::basic_resolver_entry | ( | ) |
Default constructor.
| asio::ip::basic_resolver_entry< InternetProtocol >::basic_resolver_entry | ( | const endpoint_type & | endpoint, | |
| const std::string & | host_name, | |||
| const std::string & | service_name | |||
| ) |
Construct with specified endpoint, host name and service name.
| endpoint_type asio::ip::basic_resolver_entry< InternetProtocol >::endpoint | ( | ) | const |
Get the endpoint associated with the entry.
| asio::ip::basic_resolver_entry< InternetProtocol >::operator endpoint_type | ( | ) | const |
Convert to the endpoint associated with the entry.
| std::string asio::ip::basic_resolver_entry< InternetProtocol >::host_name | ( | ) | const |
Get the host name associated with the entry.
| std::string asio::ip::basic_resolver_entry< InternetProtocol >::service_name | ( | ) | const |
Get the service name associated with the entry.