7 #ifndef ASIOLINK_IO_SERVICE_H 8 #define ASIOLINK_IO_SERVICE_H 10 #include <boost/version.hpp> 11 #include <boost/shared_ptr.hpp> 16 #if BOOST_VERSION < 106600 20 typedef io_context io_service;
92 boost::asio::io_service& get_io_service();
103 void post(
const std::function<
void ()>& callback);
106 boost::shared_ptr<IOServiceImpl> io_impl_;
114 #endif // ASIOLINK_IO_SERVICE_H
boost::shared_ptr< IOService > IOServicePtr
Defines a smart pointer to an IOService instance.
The IOService class is a wrapper for the ASIO io_service class.
Defines the logger used by the top-level component of kea-lfc.
A wrapper interface for the ASIO library.