void QUrlQueueServer::clear_empty_site(msgpack::rpc::request &req) { int ret = clear_empty_site(); req.result(ret); }
void QUrlQueueServer::stop_all(msgpack::rpc::request &req) { m_stop_all = true; req.result(QCONTENTHUB_OK); }
void QUrlQueueServer::start_dump_site(msgpack::rpc::request &req, const std::string &/*site*/) { req.result(QCONTENTHUB_OK); }
void QUrlQueueServer::pop_url(msgpack::rpc::request &req) { std::string ret; pop_url(ret); req.result(ret); }