This repository has been archived on 2018-05-28. You can view files and clone it, but cannot push or open issues or pull requests.
BBB-Simple-ACS/client/await_timer.cpp

17 lines
295 B
C++

#include "await_timer.hpp"
#include "factory.hpp"
namespace acs
{
void await_timer::callback_handler(const boost::system::error_code& ec)
{
user_cb_(ec);
}
await_timer::await_timer() : loop_(factory::get()->get_loop()), timer_(*loop_->get_io_service())
{
}
}