Base class for all io_service services. More...
#include <io_service.hpp>
Public Member Functions | |
asio::io_service & | get_io_service () |
Get the io_service object that owns the service. | |
asio::io_service & | io_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. | |
Private Attributes | |
const asio::io_service::id * | id_ |
service * | next_ |
asio::io_service & | owner_ |
const std::type_info * | type_info_ |
Friends | |
class | asio::detail::service_registry |
Base class for all io_service services.
Definition at line 490 of file io_service.hpp.
asio::io_service::service::service | ( | asio::io_service & | owner | ) | [protected] |
Constructor.
owner | The io_service object that owns the service. |
virtual asio::io_service::service::~service | ( | ) | [protected, virtual] |
Destructor.
Get the io_service object that owns the service.
(Deprecated: use get_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::detail::strand_service, asio::ssl::detail::openssl_stream_service, asio::detail::reactive_socket_service< Protocol, Reactor >, asio::detail::resolver_service< Protocol >, asio::datagram_socket_service< Protocol >, asio::raw_socket_service< Protocol >, asio::serial_port_service, asio::stream_socket_service< Protocol >, asio::deadline_timer_service< TimeType, TimeTraits >, asio::posix::stream_descriptor_service, asio::socket_acceptor_service< Protocol >, asio::detail::select_reactor< Own_Thread >, asio::detail::reactive_descriptor_service< Reactor >, asio::ip::resolver_service< InternetProtocol >, asio::detail::deadline_timer_service< Time_Traits, Timer_Scheduler >, asio::ssl::stream_service, asio::detail::task_io_service< Task >, asio::ssl::context_service, asio::detail::reactive_serial_port_service< Reactor >, asio::detail::task_io_service< Task >, and asio::ssl::detail::openssl_context_service.
friend class asio::detail::service_registry [friend] |
Definition at line 515 of file io_service.hpp.
const asio::io_service::id* asio::io_service::service::id_ [private] |
Definition at line 518 of file io_service.hpp.
service* asio::io_service::service::next_ [private] |
Definition at line 519 of file io_service.hpp.
Definition at line 516 of file io_service.hpp.
const std::type_info* asio::io_service::service::type_info_ [private] |
Definition at line 517 of file io_service.hpp.