version 1.24.8.1, 2007/06/22 10:33:24
|
version 1.25, 2008/05/12 09:14:54
|
|
|
#include "OperationResponseHandler.h" | #include "OperationResponseHandler.h" |
#include "CIMOMHandleContext.h" | #include "CIMOMHandleContext.h" |
| |
#include <Pegasus/Common/Logger.h> |
#include <Pegasus/Common/Tracer.h> |
#include <Pegasus/Common/SharedPtr.h> | #include <Pegasus/Common/SharedPtr.h> |
#include <Pegasus/Provider/CIMOMHandle.h> | #include <Pegasus/Provider/CIMOMHandle.h> |
| |
PEGASUS_NAMESPACE_BEGIN | PEGASUS_NAMESPACE_BEGIN |
#ifdef PEGASUS_USE_DIRECTACCESS_FOR_LOCAL |
|
extern bool runtime_context_is_directaccess_cim; |
|
#endif |
|
| |
// | // |
// OperationResponseHandler | // OperationResponseHandler |
|
|
// some handlers do not send async because their callers cannot handle | // some handlers do not send async because their callers cannot handle |
// partial responses. If this is the case, stop here. | // partial responses. If this is the case, stop here. |
| |
#ifdef PEGASUS_USE_DIRECTACCESS_FOR_LOCAL |
|
if ( runtime_context_is_directaccess_cim || !isAsync() ) |
|
#else |
|
if (!isAsync()) | if (!isAsync()) |
#endif |
|
{ | { |
// preserve traditional behavior | // preserve traditional behavior |
if (isComplete) | if (isComplete) |
|
|
simple.clear(); | simple.clear(); |
} | } |
| |
String function = getClass() + "::" + "transfer"; |
PEG_TRACE(( |
Logger::put( |
TRC_PROVIDERMANAGER, |
Logger::STANDARD_LOG, |
Tracer::LEVEL4, |
System::CIMSERVER, |
"%s::transfer", |
Logger::TRACE, |
(const char*) getClass().getCString())); |
function); |
|
| |
transfer(); | transfer(); |
simple.clear(); | simple.clear(); |