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