asio 0.3.8rc3 Home | Reference | Tutorial | Examples | Design
Reference Class Hierarchy | Class Index | Member Index

asio::io_service::service Class Reference

Inheritance diagram for asio::io_service::service:

Inheritance graph

List of all members.


Detailed Description

Base class for all io_service services.

Public Member Functions

asio::io_serviceio_service ()
 Get the io_service object that owns the service.

Protected Member Functions

 service (asio::io_service &owner)
 Constructor.
virtual ~service ()
 Destructor.

Private Member Functions

virtual void shutdown_service ()=0
 Destroy all user-defined handler objects owned by the service.

Constructor & Destructor Documentation

asio::io_service::service::service ( asio::io_service owner  )  [protected]

Constructor.

Parameters:
owner The io_service object that owns the service.

asio::io_service::service::~service (  )  [protected, virtual]

Destructor.


Member Function Documentation

asio::io_service & asio::io_service::service::io_service (  ) 

Get the io_service object that owns the service.

virtual void asio::io_service::service::shutdown_service (  )  [private, pure virtual]

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

Implemented in asio::datagram_socket_service< Protocol >, asio::deadline_timer_service< TimeType, TimeTraits >, asio::socket_acceptor_service< Protocol >, asio::stream_socket_service< Protocol >, asio::ip::resolver_service< InternetProtocol >, asio::ssl::context_service, and asio::ssl::stream_service.

asio 0.3.8rc3 Home | Reference | Tutorial | Examples | Design