All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Classes | Public Types | Public Member Functions | Private Member Functions | Private Attributes
asio::detail::resolver_service< Protocol > Class Template Reference

#include <resolver_service.hpp>

Inheritance diagram for asio::detail::resolver_service< Protocol >:
Inheritance graph
[legend]

List of all members.

Classes

class  auto_addrinfo
struct  noop_deleter
class  resolve_endpoint_handler
class  resolve_query_handler
class  work_io_service_runner

Public Types

typedef Protocol::endpoint endpoint_type
typedef boost::shared_ptr< void > implementation_type
typedef Protocol::resolver_iterator iterator_type
typedef Protocol::resolver_query query_type

Public Member Functions

template<typename Handler >
void async_resolve (implementation_type &impl, const query_type &query, Handler handler)
template<typename Handler >
void async_resolve (implementation_type &impl, const endpoint_type &endpoint, Handler handler)
void cancel (implementation_type &impl)
void construct (implementation_type &impl)
void destroy (implementation_type &)
iterator_type resolve (implementation_type &, const query_type &query, asio::error_code &ec)
iterator_type resolve (implementation_type &, const endpoint_type &endpoint, asio::error_code &ec)
 resolver_service (asio::io_service &io_service)
void shutdown_service ()
 Destroy all user-defined handler objects owned by the service.
 ~resolver_service ()

Private Member Functions

void start_work_thread ()

Private Attributes

asio::detail::mutex mutex_
boost::scoped_ptr
< asio::io_service::work
work_
boost::scoped_ptr
< asio::io_service
work_io_service_
boost::scoped_ptr
< asio::detail::thread
work_thread_

Detailed Description

template<typename Protocol>
class asio::detail::resolver_service< Protocol >

Definition at line 41 of file detail/resolver_service.hpp.


Member Typedef Documentation

template<typename Protocol >
typedef Protocol::endpoint asio::detail::resolver_service< Protocol >::endpoint_type

Definition at line 78 of file detail/resolver_service.hpp.

template<typename Protocol >
typedef boost::shared_ptr<void> asio::detail::resolver_service< Protocol >::implementation_type

Definition at line 74 of file detail/resolver_service.hpp.

template<typename Protocol >
typedef Protocol::resolver_iterator asio::detail::resolver_service< Protocol >::iterator_type

Definition at line 84 of file detail/resolver_service.hpp.

template<typename Protocol >
typedef Protocol::resolver_query asio::detail::resolver_service< Protocol >::query_type

Definition at line 81 of file detail/resolver_service.hpp.


Constructor & Destructor Documentation

template<typename Protocol >
asio::detail::resolver_service< Protocol >::resolver_service ( asio::io_service io_service) [inline]

Definition at line 87 of file detail/resolver_service.hpp.

template<typename Protocol >
asio::detail::resolver_service< Protocol >::~resolver_service ( ) [inline]

Definition at line 98 of file detail/resolver_service.hpp.


Member Function Documentation

template<typename Protocol >
template<typename Handler >
void asio::detail::resolver_service< Protocol >::async_resolve ( implementation_type impl,
const query_type query,
Handler  handler 
) [inline]

Definition at line 208 of file detail/resolver_service.hpp.

template<typename Protocol >
template<typename Handler >
void asio::detail::resolver_service< Protocol >::async_resolve ( implementation_type impl,
const endpoint_type endpoint,
Handler  handler 
) [inline]

Definition at line 304 of file detail/resolver_service.hpp.

template<typename Protocol >
void asio::detail::resolver_service< Protocol >::cancel ( implementation_type impl) [inline]

Definition at line 131 of file detail/resolver_service.hpp.

template<typename Protocol >
void asio::detail::resolver_service< Protocol >::construct ( implementation_type impl) [inline]

Definition at line 120 of file detail/resolver_service.hpp.

template<typename Protocol >
void asio::detail::resolver_service< Protocol >::destroy ( implementation_type ) [inline]

Definition at line 126 of file detail/resolver_service.hpp.

template<typename Protocol >
iterator_type asio::detail::resolver_service< Protocol >::resolve ( implementation_type ,
const query_type query,
asio::error_code ec 
) [inline]

Definition at line 137 of file detail/resolver_service.hpp.

template<typename Protocol >
iterator_type asio::detail::resolver_service< Protocol >::resolve ( implementation_type ,
const endpoint_type endpoint,
asio::error_code ec 
) [inline]

Definition at line 221 of file detail/resolver_service.hpp.

template<typename Protocol >
void asio::detail::resolver_service< Protocol >::shutdown_service ( ) [inline, virtual]

Destroy all user-defined handler objects owned by the service.

Implements asio::io_service::service.

Definition at line 104 of file detail/resolver_service.hpp.

template<typename Protocol >
void asio::detail::resolver_service< Protocol >::start_work_thread ( ) [inline, private]

Definition at line 329 of file detail/resolver_service.hpp.


Member Data Documentation

template<typename Protocol >
asio::detail::mutex asio::detail::resolver_service< Protocol >::mutex_ [private]

Definition at line 340 of file detail/resolver_service.hpp.

template<typename Protocol >
boost::scoped_ptr<asio::io_service::work> asio::detail::resolver_service< Protocol >::work_ [private]

Definition at line 346 of file detail/resolver_service.hpp.

template<typename Protocol >
boost::scoped_ptr<asio::io_service> asio::detail::resolver_service< Protocol >::work_io_service_ [private]

Definition at line 343 of file detail/resolver_service.hpp.

template<typename Protocol >
boost::scoped_ptr<asio::detail::thread> asio::detail::resolver_service< Protocol >::work_thread_ [private]

Definition at line 349 of file detail/resolver_service.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Castor
Author(s): Carpe Noctem
autogenerated on Fri Nov 8 2013 11:05:41