version 1.10, 2002/02/04 21:03:55
|
version 1.11, 2002/02/04 22:01:47
|
|
|
{ | { |
// set the paused bit and update | // set the paused bit and update |
_capabilities |= module_capabilities::stopped; | _capabilities |= module_capabilities::stopped; |
|
update_service(_capabilities, _mask); |
_make_response(req, async_results::CIM_PAUSED); | _make_response(req, async_results::CIM_PAUSED); |
// now tell the meta dispatcher we are stopped | // now tell the meta dispatcher we are stopped |
update_service(_capabilities, _mask); |
|
|
cout << " service paused " << endl; |
|
|
} | } |
void MessageQueueService::handle_CimServiceResume(CimServiceResume *req) | void MessageQueueService::handle_CimServiceResume(CimServiceResume *req) |
{ | { |
// clear the paused bit and update | // clear the paused bit and update |
_capabilities &= ~(module_capabilities::paused); | _capabilities &= ~(module_capabilities::paused); |
|
update_service(_capabilities, _mask); |
_make_response(req, async_results::OK); | _make_response(req, async_results::OK); |
// now tell the meta dispatcher we are stopped | // now tell the meta dispatcher we are stopped |
update_service(_capabilities, _mask); |
|
|
|
|
cout << " service resumed " << endl; |
} | } |
| |
void MessageQueueService::handle_AsyncOperationStart(AsyncOperationStart *req) | void MessageQueueService::handle_AsyncOperationStart(AsyncOperationStart *req) |