version 1.63, 2006/08/09 21:12:42
|
version 1.64, 2006/08/29 17:32:05
|
|
|
// | // |
//============================================================================== | //============================================================================== |
// | // |
// Author: Mike Day (mdday@us.ibm.com) << Tue Mar 19 13:19:24 2002 mdd >> |
|
// |
|
// Modified By: Amit K Arora, IBM (amita@in.ibm.com) for PEP101 and Bug#1090 |
|
// David Dillard, VERITAS Software Corp. |
|
// (david.dillard@veritas.com) |
|
// Roger Kumpf, Hewlett-Packard Company (roger_kumpf@hp.com) |
|
// |
|
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
#include "ModuleController.h" | #include "ModuleController.h" |
|
|
Message *request = op->removeRequest(); | Message *request = op->removeRequest(); |
Message *response = op->removeResponse(); | Message *response = op->removeResponse(); |
| |
if( request && (! (request->getMask() & message_mask::ha_async))) |
if( request && (! (request->getMask() & MessageMask::ha_async))) |
throw TypeMismatchException(); | throw TypeMismatchException(); |
| |
if( response && (! (response->getMask() & message_mask::ha_async) )) |
if( response && (! (response->getMask() & MessageMask::ha_async) )) |
throw TypeMismatchException(); | throw TypeMismatchException(); |
| |
op->release(); | op->release(); |
|
|
if(module_result == NULL) | if(module_result == NULL) |
{ | { |
module_result = new AsyncReply(async_messages::REPLY, | module_result = new AsyncReply(async_messages::REPLY, |
message_mask::ha_async | message_mask::ha_reply, |
MessageMask::ha_async | MessageMask::ha_reply, |
rq->op, | rq->op, |
async_results::CIM_NAK, | async_results::CIM_NAK, |
rq->resp, | rq->resp, |