Default service implementation for a resolver. More...
#include <resolver_service.hpp>


Public Types | |
| typedef InternetProtocol | protocol_type |
| The protocol type. More... | |
| typedef InternetProtocol::endpoint | endpoint_type |
| The endpoint type. More... | |
| typedef basic_resolver_query < InternetProtocol > | query_type |
| The query type. More... | |
| typedef basic_resolver_iterator < InternetProtocol > | iterator_type |
| The iterator type. More... | |
| typedef service_impl_type::implementation_type | implementation_type |
| The type of a resolver implementation. More... | |
Public Member Functions | |
| resolver_service (boost::asio::io_service &io_service) | |
| Construct a new resolver service for the specified io_service. More... | |
| void | construct (implementation_type &impl) |
| Construct a new resolver implementation. More... | |
| void | destroy (implementation_type &impl) |
| Destroy a resolver implementation. More... | |
| void | cancel (implementation_type &impl) |
| Cancel pending asynchronous operations. More... | |
| iterator_type | resolve (implementation_type &impl, const query_type &query, boost::system::error_code &ec) |
| Resolve a query to a list of entries. More... | |
| template<typename ResolveHandler > | |
| BOOST_ASIO_INITFN_RESULT_TYPE (ResolveHandler, void(boost::system::error_code, iterator_type)) async_resolve(implementation_type &impl | |
| Asynchronously resolve a query to a list of entries. More... | |
| const query_type | BOOST_ASIO_MOVE_ARG (ResolveHandler) handler) |
| iterator_type | resolve (implementation_type &impl, const endpoint_type &endpoint, boost::system::error_code &ec) |
| Resolve an endpoint to a list of entries. More... | |
| template<typename ResolveHandler > | |
| BOOST_ASIO_INITFN_RESULT_TYPE (ResolveHandler, void(boost::system::error_code, iterator_type)) async_resolve(implementation_type &impl | |
| Asynchronously resolve an endpoint to a list of entries. More... | |
| const endpoint_type | BOOST_ASIO_MOVE_ARG (ResolveHandler) handler) |
| boost::asio::io_service & | get_io_service () |
| Get the io_service object that owns the service. More... | |
Public Attributes | |
| const query_type & | query |
| const endpoint_type & | endpoint |
Static Public Attributes | |
| static boost::asio::detail::service_id < resolver_service < InternetProtocol > > | id |
Default service implementation for a resolver.
| typedef InternetProtocol::endpoint boost::asio::ip::resolver_service< InternetProtocol >::endpoint_type |
The endpoint type.
| typedef service_impl_type::implementation_type boost::asio::ip::resolver_service< InternetProtocol >::implementation_type |
The type of a resolver implementation.
| typedef basic_resolver_iterator<InternetProtocol> boost::asio::ip::resolver_service< InternetProtocol >::iterator_type |
The iterator type.
| typedef InternetProtocol boost::asio::ip::resolver_service< InternetProtocol >::protocol_type |
The protocol type.
| typedef basic_resolver_query<InternetProtocol> boost::asio::ip::resolver_service< InternetProtocol >::query_type |
The query type.
|
inlineexplicit |
Construct a new resolver service for the specified io_service.
| boost::asio::ip::resolver_service< InternetProtocol >::BOOST_ASIO_INITFN_RESULT_TYPE | ( | ResolveHandler | , |
| void(boost::system::error_code, iterator_type) | |||
| ) |
Asynchronously resolve a query to a list of entries.
| boost::asio::ip::resolver_service< InternetProtocol >::BOOST_ASIO_INITFN_RESULT_TYPE | ( | ResolveHandler | , |
| void(boost::system::error_code, iterator_type) | |||
| ) |
Asynchronously resolve an endpoint to a list of entries.
|
inline |
|
inline |
|
inline |
Cancel pending asynchronous operations.
|
inline |
Construct a new resolver implementation.
|
inline |
Destroy a resolver implementation.
|
inherited |
Get the io_service object that owns the service.
|
inline |
Resolve a query to a list of entries.
|
inline |
Resolve an endpoint to a list of entries.
| const endpoint_type& boost::asio::ip::resolver_service< InternetProtocol >::endpoint |
|
staticinherited |
| const query_type& boost::asio::ip::resolver_service< InternetProtocol >::query |