(file) Return to OperationResponseHandler.h CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / ProviderManager2

Diff for /pegasus/src/Pegasus/ProviderManager2/OperationResponseHandler.h between version 1.14 and 1.16

version 1.14, 2005/02/03 04:17:46 version 1.16, 2005/02/03 18:35:05
Line 169 
Line 169 
         // Attempt to get the cached class definition used to validate results of this         // Attempt to get the cached class definition used to validate results of this
         // operation. If it does not exist, then this feature is disabled for this         // operation. If it does not exist, then this feature is disabled for this
         // operation.         // operation.
           CIMClass cimClass;
   
         try         try
         {         {
             CachedClassDefinitionContainer container =             CachedClassDefinitionContainer container =
                 request->operationContext.get(CachedClassDefinitionContainer::NAME);                 request->operationContext.get(CachedClassDefinitionContainer::NAME);
  
             CIMClass cimClass = container.getClass();              cimClass = container.getClass();
  
             _normalizer =  
                 ObjectNormalizer(  
                     cimClass,  
                     request->localOnly,  
                     request->includeQualifiers,  
                     request->includeClassOrigin);  
         }         }
         catch(Exception &)         catch(Exception &)
         {         {
             // Do nothing. Container is missing, which implies normalization is disabled             // Do nothing. Container is missing, which implies normalization is disabled
             // for this operation.             // for this operation.
         }         }
   
           _normalizer =
               ObjectNormalizer(
                   cimClass,
                   request->localOnly,
                   request->includeQualifiers,
                   request->includeClassOrigin);
         #endif         #endif
     }     }
  
     /*  
     #ifdef PEGASUS_ENABLE_OBJECT_NORMALIZATION     #ifdef PEGASUS_ENABLE_OBJECT_NORMALIZATION
     virtual void deliver(const CIMInstance & cimInstance)     virtual void deliver(const CIMInstance & cimInstance)
     {     {
Line 199 
Line 201 
         SimpleInstanceResponseHandler::deliver(_normalizer.processInstance(cimInstance));         SimpleInstanceResponseHandler::deliver(_normalizer.processInstance(cimInstance));
     }     }
     #endif     #endif
     */  
  
     virtual String getClass(void) const     virtual String getClass(void) const
     {     {
Line 244 
Line 245 
         // Attempt to get the cached class definition used to validate results of this         // Attempt to get the cached class definition used to validate results of this
         // operation. If it does not exist, then this feature is disabled for this         // operation. If it does not exist, then this feature is disabled for this
         // operation.         // operation.
           CIMClass cimClass;
   
         try         try
         {         {
             CachedClassDefinitionContainer container =             CachedClassDefinitionContainer container =
                 request->operationContext.get(CachedClassDefinitionContainer::NAME);                 request->operationContext.get(CachedClassDefinitionContainer::NAME);
  
             CIMClass cimClass = container.getClass();              cimClass = container.getClass();
           }
           catch(Exception &)
           {
               // Do nothing. Container is missing, which implies normalization is disabled
               // for this operation.
           }
  
             _normalizer =             _normalizer =
                 ObjectNormalizer(                 ObjectNormalizer(
Line 257 
Line 266 
                     request->localOnly,                     request->localOnly,
                     request->includeQualifiers,                     request->includeQualifiers,
                     request->includeClassOrigin);                     request->includeClassOrigin);
         }  
         catch(Exception &)  
         {  
             // Do nothing. Container is missing, which implies normalization is disabled  
             // for this operation.  
         }  
         #endif         #endif
     }     }
  
     /*  
     #ifdef PEGASUS_ENABLE_OBJECT_NORMALIZATION     #ifdef PEGASUS_ENABLE_OBJECT_NORMALIZATION
     virtual void deliver(const CIMInstance & cimInstance)     virtual void deliver(const CIMInstance & cimInstance)
     {     {
Line 274 
Line 276 
         SimpleInstanceResponseHandler::deliver(_normalizer.processInstance(cimInstance));         SimpleInstanceResponseHandler::deliver(_normalizer.processInstance(cimInstance));
     }     }
     #endif     #endif
     */  
  
     virtual String getClass(void) const     virtual String getClass(void) const
     {     {
Line 306 
Line 307 
         // Attempt to get the cached class definition used to validate results of this         // Attempt to get the cached class definition used to validate results of this
         // operation. If it does not exist, then this feature is disabled for this         // operation. If it does not exist, then this feature is disabled for this
         // operation.         // operation.
           CIMClass cimClass;
   
         try         try
         {         {
             CachedClassDefinitionContainer container =             CachedClassDefinitionContainer container =
                 request->operationContext.get(CachedClassDefinitionContainer::NAME);                 request->operationContext.get(CachedClassDefinitionContainer::NAME);
  
             CIMClass cimClass = container.getClass();              cimClass = container.getClass();
           }
           catch(Exception &)
           {
               // Do nothing. Container is missing, which implies normalization is disabled
               // for this operation.
           }
  
             _normalizer =             _normalizer =
                 ObjectNormalizer(                 ObjectNormalizer(
Line 319 
Line 328 
                     false,                     false,
                     false,                     false,
                     false);                     false);
         }  
         catch(Exception &)  
         {  
             // Do nothing. Container is missing, which implies normalization is disabled  
             // for this operation.  
         }  
         #endif         #endif
     }     }
  
     /*  
     #ifdef PEGASUS_ENABLE_OBJECT_NORMALIZATION     #ifdef PEGASUS_ENABLE_OBJECT_NORMALIZATION
     virtual void deliver(const CIMObjectPath & cimObjectPath)     virtual void deliver(const CIMObjectPath & cimObjectPath)
     {     {
Line 336 
Line 338 
         SimpleObjectPathResponseHandler::deliver(_normalizer.processInstanceObjectPath(cimObjectPath));         SimpleObjectPathResponseHandler::deliver(_normalizer.processInstanceObjectPath(cimObjectPath));
     }     }
     #endif     #endif
     */  
  
     virtual String getClass(void) const     virtual String getClass(void) const
     {     {
Line 505 
Line 506 
         msg.cimObjects = getObjects();         msg.cimObjects = getObjects();
     }     }
  
     // this handler will not send async  
     virtual Boolean isAsync(void) const     virtual Boolean isAsync(void) const
     {     {
         return(false);         return(false);
Line 660 
Line 660 
         return(String("EnableIndicationsResponseHandler"));         return(String("EnableIndicationsResponseHandler"));
     }     }
  
     // this handler will not send async  
     virtual Boolean isAsync(void) const     virtual Boolean isAsync(void) const
     {     {
         return(false);         return(false);


Legend:
Removed from v.1.14  
changed lines
  Added in v.1.16

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2