29 const boost::property_tree::ptree &cfg,
CoreUtilsPtr utils)
52 auto stop_watcher(std::make_shared<StopWatcher>(*
this));
53 stop_watcher->schedule_wait();
55 auto reactor_poller(std::make_shared<AsyncReactorPoller>(*
this));
56 reactor_poller->schedule_wait();
63 WARN(
"AsioModule StopWatcher timer has errored: " << ec.message());
74 timer_.expires_from_now(std::chrono::milliseconds(1000));
76 std::placeholders::_1));
81 timer_.expires_from_now(std::chrono::milliseconds(25));
83 shared_from_this(), std::placeholders::_1));
87 const boost::system::error_code &ec)
89 ASSERT_LOG(ec == boost::system::errc::success,
"Error while processing wait_handler: " << ec.message());
90 self_.reactor_.poll(0);
91 if (self_.is_running_)