Reference | Class Hierarchy | Class Index | Member Index |
Public Types | |
typedef InternetProtocol | protocol_type |
The protocol type. | |
typedef InternetProtocol::endpoint | endpoint_type |
The endpoint type. | |
typedef InternetProtocol::resolver_query | query_type |
The query type. | |
typedef InternetProtocol::resolver_iterator | iterator_type |
The iterator type. | |
typedef implementation_defined | implementation_type |
The type of a resolver implementation. | |
Public Member Functions | |
resolver_service (asio::io_service &io_service) | |
Construct a new resolver service for the specified io_service. | |
void | shutdown_service () |
Destroy all user-defined handler objects owned by the service. | |
void | construct (implementation_type &impl) |
Construct a new resolver implementation. | |
void | destroy (implementation_type &impl) |
Destroy a resolver implementation. | |
void | cancel (implementation_type &impl) |
Cancel pending asynchronous operations. | |
iterator_type | resolve (implementation_type &impl, const query_type &query, asio::error_code &ec) |
Resolve a query to a list of entries. | |
template<typename Handler> | |
void | async_resolve (implementation_type &impl, const query_type &query, Handler handler) |
Asynchronously resolve a query to a list of entries. | |
iterator_type | resolve (implementation_type &impl, const endpoint_type &endpoint, asio::error_code &ec) |
Resolve an endpoint to a list of entries. | |
template<typename ResolveHandler> | |
void | async_resolve (implementation_type &impl, const endpoint_type &endpoint, ResolveHandler handler) |
Asynchronously resolve an endpoint to a list of entries. | |
asio::io_service & | io_service () |
Get the io_service object that owns the service. | |
Static Public Attributes | |
static asio::io_service::id | id |
The unique service identifier. |
typedef InternetProtocol asio::ip::resolver_service< InternetProtocol >::protocol_type |
The protocol type.
typedef InternetProtocol::endpoint asio::ip::resolver_service< InternetProtocol >::endpoint_type |
The endpoint type.
typedef InternetProtocol::resolver_query asio::ip::resolver_service< InternetProtocol >::query_type |
The query type.
typedef InternetProtocol::resolver_iterator asio::ip::resolver_service< InternetProtocol >::iterator_type |
The iterator type.
typedef implementation_defined asio::ip::resolver_service< InternetProtocol >::implementation_type |
The type of a resolver implementation.
asio::ip::resolver_service< InternetProtocol >::resolver_service | ( | asio::io_service & | io_service | ) | [explicit] |
Construct a new resolver service for the specified io_service.
void asio::ip::resolver_service< InternetProtocol >::shutdown_service | ( | ) | [virtual] |
Destroy all user-defined handler objects owned by the service.
Implements asio::io_service::service.
void asio::ip::resolver_service< InternetProtocol >::construct | ( | implementation_type & | impl | ) |
Construct a new resolver implementation.
void asio::ip::resolver_service< InternetProtocol >::destroy | ( | implementation_type & | impl | ) |
Destroy a resolver implementation.
void asio::ip::resolver_service< InternetProtocol >::cancel | ( | implementation_type & | impl | ) |
Cancel pending asynchronous operations.
iterator_type asio::ip::resolver_service< InternetProtocol >::resolve | ( | implementation_type & | impl, | |
const query_type & | query, | |||
asio::error_code & | ec | |||
) |
Resolve a query to a list of entries.
void asio::ip::resolver_service< InternetProtocol >::async_resolve | ( | implementation_type & | impl, | |
const query_type & | query, | |||
Handler | handler | |||
) |
Asynchronously resolve a query to a list of entries.
iterator_type asio::ip::resolver_service< InternetProtocol >::resolve | ( | implementation_type & | impl, | |
const endpoint_type & | endpoint, | |||
asio::error_code & | ec | |||
) |
Resolve an endpoint to a list of entries.
void asio::ip::resolver_service< InternetProtocol >::async_resolve | ( | implementation_type & | impl, | |
const endpoint_type & | endpoint, | |||
ResolveHandler | handler | |||
) |
Asynchronously resolve an endpoint to a list of entries.
asio::io_service & asio::io_service::service::io_service | ( | ) | [inherited] |
Get the io_service object that owns the service.
asio::io_service::id asio::ip::resolver_service< InternetProtocol >::id [static] |
The unique service identifier.