(file) Return to MessageQueueService.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Common

Diff for /pegasus/src/Pegasus/Common/MessageQueueService.cpp between version 1.133 and 1.134

version 1.133, 2007/07/24 20:02:06 version 1.134, 2007/11/30 18:53:43
Line 573 
Line 573 
         }         }
     }     }
  
     if (request->_async != 0)      AsyncRequest* asyncRequest =
           static_cast<AsyncRequest*>(request->get_async());
   
       if (asyncRequest != 0)
     {     {
         Uint32 mask = request->_async->getMask();          PEGASUS_ASSERT(asyncRequest->getMask() &
         PEGASUS_ASSERT(mask &  
             (MessageMask::ha_async | MessageMask::ha_request));             (MessageMask::ha_async | MessageMask::ha_request));
  
         AsyncRequest *async = static_cast<AsyncRequest *>(request->_async);          AsyncOpNode* op = asyncRequest->op;
         AsyncOpNode *op = async->op;  
         request->_async = 0;  
         // the legacy request is going to be deleted by its handler         // the legacy request is going to be deleted by its handler
         // remove it from the op node         // remove it from the op node
  
         static_cast<AsyncLegacyOperationStart *>(async)->get_action();          static_cast<AsyncLegacyOperationStart *>(asyncRequest)->get_action();
  
         AsyncLegacyOperationResult *async_result =         AsyncLegacyOperationResult *async_result =
             new AsyncLegacyOperationResult(             new AsyncLegacyOperationResult(
                 op,                 op,
                 response);                 response);
         _completeAsyncResponse(         _completeAsyncResponse(
             async,              asyncRequest,
             async_result,             async_result,
             ASYNC_OPSTATE_COMPLETE,             ASYNC_OPSTATE_COMPLETE,
             0);             0);


Legend:
Removed from v.1.133  
changed lines
  Added in v.1.134

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2