Reference | Class Hierarchy | Class Index | Member Index |
Inheritance diagram for asio::resolver_service< Protocol >:
Public Types | |
typedef Protocol | protocol_type |
The protocol type. | |
typedef Protocol::endpoint | endpoint_type |
The endpoint type. | |
typedef Protocol::resolver_query | query_type |
The query type. | |
typedef Protocol::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. | |
template<typename Error_Handler> | |
iterator_type | resolve (implementation_type &impl, const query_type &query, Error_Handler error_handler) |
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. | |
template<typename Error_Handler> | |
iterator_type | resolve (implementation_type &impl, const endpoint_type &endpoint, Error_Handler error_handler) |
Resolve an endpoint to a list of entries. | |
template<typename Handler> | |
void | async_resolve (implementation_type &impl, const endpoint_type &endpoint, Handler handler) |
Asynchronously resolve an endpoint to a list of entries. | |
io_service & | owner () |
Get the io_service object that owns the service. |
typedef Protocol asio::resolver_service< Protocol >::protocol_type |
The protocol type.
typedef Protocol::endpoint asio::resolver_service< Protocol >::endpoint_type |
The endpoint type.
typedef Protocol::resolver_query asio::resolver_service< Protocol >::query_type |
The query type.
typedef Protocol::resolver_iterator asio::resolver_service< Protocol >::iterator_type |
The iterator type.
typedef implementation_defined asio::resolver_service< Protocol >::implementation_type |
The type of a resolver implementation.
asio::resolver_service< Protocol >::resolver_service | ( | asio::io_service & | io_service | ) | [explicit] |
Construct a new resolver service for the specified io_service.
void asio::resolver_service< Protocol >::shutdown_service | ( | ) | [virtual] |
Destroy all user-defined handler objects owned by the service.
Implements asio::io_service::service.
void asio::resolver_service< Protocol >::construct | ( | implementation_type & | impl | ) |
Construct a new resolver implementation.
void asio::resolver_service< Protocol >::destroy | ( | implementation_type & | impl | ) |
Destroy a resolver implementation.
void asio::resolver_service< Protocol >::cancel | ( | implementation_type & | impl | ) |
Cancel pending asynchronous operations.
iterator_type asio::resolver_service< Protocol >::resolve | ( | implementation_type & | impl, | |
const query_type & | query, | |||
Error_Handler | error_handler | |||
) |
Resolve a query to a list of entries.
void asio::resolver_service< Protocol >::async_resolve | ( | implementation_type & | impl, | |
const query_type & | query, | |||
Handler | handler | |||
) |
Asynchronously resolve a query to a list of entries.
iterator_type asio::resolver_service< Protocol >::resolve | ( | implementation_type & | impl, | |
const endpoint_type & | endpoint, | |||
Error_Handler | error_handler | |||
) |
Resolve an endpoint to a list of entries.
void asio::resolver_service< Protocol >::async_resolve | ( | implementation_type & | impl, | |
const endpoint_type & | endpoint, | |||
Handler | handler | |||
) |
Asynchronously resolve an endpoint to a list of entries.
io_service & asio::io_service::service::owner | ( | ) | [inherited] |
Get the io_service object that owns the service.