Clementine
Public Types | Public Member Functions | List of all members
asio::detail::resolver_service< Protocol > Class Template Reference
Inheritance diagram for asio::detail::resolver_service< Protocol >:
Inheritance graph
[legend]
Collaboration diagram for asio::detail::resolver_service< Protocol >:
Collaboration graph
[legend]

Public Types

typedef socket_ops::shared_cancel_token_type implementation_type
 
typedef Protocol::endpoint endpoint_type
 
typedef asio::ip::basic_resolver_query< Protocol > query_type
 
typedef asio::ip::basic_resolver_results< Protocol > results_type
 
- Public Types inherited from asio::detail::resolver_service_base
typedef socket_ops::shared_cancel_token_type implementation_type
 

Public Member Functions

 resolver_service (execution_context &context)
 
void shutdown ()
 Destroy all user-defined handler objects owned by the service.
 
void notify_fork (execution_context::fork_event fork_ev)
 Handle notification of a fork-related event to perform any necessary housekeeping. More...
 
results_type resolve (implementation_type &, const query_type &qry, asio::error_code &ec)
 
template<typename Handler , typename IoExecutor >
void async_resolve (implementation_type &impl, const query_type &qry, Handler &handler, const IoExecutor &io_ex)
 
results_type resolve (implementation_type &, const endpoint_type &endpoint, asio::error_code &ec)
 
template<typename Handler , typename IoExecutor >
void async_resolve (implementation_type &impl, const endpoint_type &endpoint, Handler &handler, const IoExecutor &io_ex)
 
- Public Member Functions inherited from asio::detail::execution_context_service_base< resolver_service< Protocol > >
 execution_context_service_base (execution_context &e)
 
- Public Member Functions inherited from asio::execution_context::service
execution_contextcontext ()
 Get the context object that owns the service.
 
- Public Member Functions inherited from asio::detail::resolver_service_base
ASIO_DECL resolver_service_base (execution_context &context)
 
ASIO_DECL void base_shutdown ()
 
ASIO_DECL void base_notify_fork (execution_context::fork_event fork_ev)
 
ASIO_DECL void construct (implementation_type &impl)
 
ASIO_DECL void destroy (implementation_type &)
 
ASIO_DECL void move_construct (implementation_type &impl, implementation_type &other_impl)
 
ASIO_DECL void move_assign (implementation_type &impl, resolver_service_base &other_service, implementation_type &other_impl)
 
void converting_move_construct (implementation_type &impl, resolver_service_base &, implementation_type &other_impl)
 
void converting_move_assign (implementation_type &impl, resolver_service_base &other_service, implementation_type &other_impl)
 
ASIO_DECL void cancel (implementation_type &impl)
 

Additional Inherited Members

- Static Public Attributes inherited from asio::detail::execution_context_service_base< resolver_service< Protocol > >
static service_id< resolver_service< Protocol > > id
 
- Protected Types inherited from asio::detail::resolver_service_base
typedef class scheduler scheduler_impl
 
- Protected Member Functions inherited from asio::execution_context::service
ASIO_DECL service (execution_context &owner)
 Constructor. More...
 
virtual ASIO_DECL ~service ()
 Destructor.
 
- Protected Member Functions inherited from asio::detail::resolver_service_base
ASIO_DECL void start_resolve_op (resolve_op *op)
 
ASIO_DECL void start_work_thread ()
 
- Protected Attributes inherited from asio::detail::resolver_service_base
scheduler_impl & scheduler_
 

Member Function Documentation

◆ notify_fork()

template<typename Protocol >
void asio::detail::resolver_service< Protocol >::notify_fork ( execution_context::fork_event  event)
inlinevirtual

Handle notification of a fork-related event to perform any necessary housekeeping.

This function is not a pure virtual so that services only have to implement it if necessary. The default implementation does nothing.

Reimplemented from asio::execution_context::service.


The documentation for this class was generated from the following file: