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

Diff for /pegasus/src/Pegasus/Server/CIMOperationRequestDispatcher.cpp between version 1.263.4.2 and 1.263.4.3

version 1.263.4.2, 2007/06/11 08:16:14 version 1.263.4.3, 2008/02/22 21:49:57
Line 27 
Line 27 
 // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 // //
 //==============================================================================  //=============================================================================
 // //
 //%/////////////////////////////////////////////////////////////////////////////  //%////////////////////////////////////////////////////////////////////////////
  
 #include "CIMOperationRequestDispatcher.h" #include "CIMOperationRequestDispatcher.h"
  
Line 1087 
Line 1087 
                 PEGASUS_QUEUENAME_CONTROLSERVICE);                 PEGASUS_QUEUENAME_CONTROLSERVICE);
  
             _routing_table.insert_record(             _routing_table.insert_record(
                    PEGASUS_CLASSNAME_PG_ELEMENTCONFORMSTOPROFILE_RP_RP,
                   _wild,
                   DynamicRoutingTable::INTERNAL,
                   0,
                   static_cast<MessageQueueService*>(
                       MessageQueue::lookup(PEGASUS_QUEUENAME_CONTROLSERVICE)),
                   PEGASUS_MODULENAME_INTEROPPROVIDER,
                   PEGASUS_QUEUENAME_CONTROLSERVICE);
   
               _routing_table.insert_record(
                  PEGASUS_CLASSNAME_PG_SUBPROFILEREQUIRESPROFILE,                  PEGASUS_CLASSNAME_PG_SUBPROFILEREQUIRESPROFILE,
                 PEGASUS_NAMESPACENAME_INTEROP,                 PEGASUS_NAMESPACENAME_INTEROP,
                 DynamicRoutingTable::INTERNAL,                 DynamicRoutingTable::INTERNAL,
Line 1747 
Line 1757 
 #ifdef PEGASUS_ENABLE_REMOTE_CMPI #ifdef PEGASUS_ENABLE_REMOTE_CMPI
         String remoteInformation;         String remoteInformation;
         Boolean isRemote = false;         Boolean isRemote = false;
         isRemote = _repository->isRemoteNameSpace(nameSpace, remoteInformation);          isRemote = _repository->isRemoteNameSpace(
               nameSpace,
               remoteInformation);
         if (isRemote)         if (isRemote)
              providercontainer = new ProviderIdContainer(              providercontainer = new ProviderIdContainer(
                 pmInstance, pInstance, isRemote, remoteInformation);                 pmInstance, pInstance, isRemote, remoteInformation);
Line 1999 
Line 2011 
         }         }
         catch (...)         catch (...)
         {         {
             cimException = PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);              cimException =
                   PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);
         }         }
  
         if (tmp.size() > 0)         if (tmp.size() > 0)
Line 2122 
Line 2135 
  
     if (providerNames.size() == 0)     if (providerNames.size() == 0)
     {     {
         PEG_TRACE_STRING(TRC_DISPATCHER, Tracer::LEVEL4,          PEG_TRACE_STRING(
             "Association Provider NOT found for Class " + assocClass.getString()              TRC_DISPATCHER,
              + " in nameSpace " + nameSpace.getString());              Tracer::LEVEL4,
               "Association Provider NOT found for Class " +
                   assocClass.getString() +
                   " in nameSpace " +
                   nameSpace.getString());
     }     }
     PEG_METHOD_EXIT();     PEG_METHOD_EXIT();
     return providerNames;     return providerNames;
Line 2892 
Line 2909 
         }         }
         catch (...)         catch (...)
         {         {
             cimException = PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);              cimException =
                   PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);
         }         }
  
         response->cimInstance = cimInstance;         response->cimInstance = cimInstance;
Line 2954 
Line 2972 
     }     }
     catch (...)     catch (...)
     {     {
         cimException = PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);          cimException =
               PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);
     }     }
  
     response->cimException = cimException;     response->cimException = cimException;
Line 3075 
Line 3094 
         }         }
         catch (...)         catch (...)
         {         {
             cimException = PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);              cimException =
                   PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);
         }         }
  
         response->cimException = cimException;         response->cimException = cimException;
Line 3141 
Line 3161 
     }     }
     catch (...)     catch (...)
     {     {
         cimException = PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);          cimException =
               PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);
     }     }
  
     response->cimException = cimException;     response->cimException = cimException;
Line 3268 
Line 3289 
         }         }
         catch (...)         catch (...)
         {         {
             cimException = PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);              cimException =
                   PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);
         }         }
  
         response->instanceName = instanceName;         response->instanceName = instanceName;
Line 3458 
Line 3480 
        }        }
        catch (...)        catch (...)
        {        {
            cimException = PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);             cimException =
                  PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);
        }        }
  
        response->cimException = cimException;        response->cimException = cimException;
Line 3525 
Line 3548 
     }     }
     catch (...)     catch (...)
     {     {
         cimException = PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);          cimException =
               PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);
     }     }
  
     response->cimClasses = cimClasses;     response->cimClasses = cimClasses;
Line 3564 
Line 3588 
  
         PEG_LOGGER_TRACE((         PEG_LOGGER_TRACE((
             Logger::STANDARD_LOG, System::CIMSERVER, Logger::TRACE,             Logger::STANDARD_LOG, System::CIMSERVER, Logger::TRACE,
             "CIMOperationRequestDispatcher::handleEnumerateClassNamesRequest - "              "CIMOperationRequestDispatcher::handleEnumerateClassNamesRequest"
                 "Namespace: $0  Class name: $1",                  " - Namespace: $0  Class name: $1",
             request->nameSpace.getString(),             request->nameSpace.getString(),
             request->className.getString()));             request->className.getString()));
     }     }
Line 3580 
Line 3604 
     }     }
     catch (...)     catch (...)
     {     {
         cimException = PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);          cimException =
               PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);
     }     }
  
     response->classNames = classNames;     response->classNames = classNames;
Line 5520 
Line 5545 
         }         }
         catch (...)         catch (...)
         {         {
             cimException = PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);              cimException =
                   PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);
         }         }
  
         if (cimException.getCode() != CIM_ERR_SUCCESS)         if (cimException.getCode() != CIM_ERR_SUCCESS)
Line 5798 
Line 5824 
  
         PEG_LOGGER_TRACE((         PEG_LOGGER_TRACE((
             Logger::STANDARD_LOG, System::CIMSERVER, Logger::TRACE,             Logger::STANDARD_LOG, System::CIMSERVER, Logger::TRACE,
             "CIMOperationRequestDispatcher::handleEnumerateQualifiersRequest - "              "CIMOperationRequestDispatcher::handleEnumerateQualifiersRequest"
                 "Namespace: $0",                  " - Namespace: $0",
             request->nameSpace.getString()));             request->nameSpace.getString()));
     }     }
     catch (const CIMException& exception)     catch (const CIMException& exception)
Line 5903 
Line 5929 
         }         }
         catch (...)         catch (...)
         {         {
             cimException = PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);              cimException =
                   PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, String::EMPTY);
         }         }
  
         if (cimException.getCode() != CIM_ERR_SUCCESS)         if (cimException.getCode() != CIM_ERR_SUCCESS)
Line 6313 
Line 6340 
    2. prune the properties if localOnly or deepInheritance are set.    2. prune the properties if localOnly or deepInheritance are set.
    This function does not send any responses.    This function does not send any responses.
 */ */
 void CIMOperationRequestDispatcher::handleEnumerateInstancesResponseAggregation(  void CIMOperationRequestDispatcher::
       handleEnumerateInstancesResponseAggregation(
     OperationAggregate* poA)     OperationAggregate* poA)
 { {
     PEG_METHOD_ENTER(TRC_DISPATCHER,     PEG_METHOD_ENTER(TRC_DISPATCHER,
Line 6531 
Line 6559 
                 catch (Exception& e)                 catch (Exception& e)
                 {                 {
                     PEG_METHOD_EXIT();                     PEG_METHOD_EXIT();
                     throw PEGASUS_CIM_EXCEPTION(CIM_ERR_FAILED, e.getMessage());                      throw PEGASUS_CIM_EXCEPTION(
                           CIM_ERR_FAILED,
                           e.getMessage());
                 }                 }
                 catch (...)                 catch (...)
                 {                 {
Line 6572 
Line 6602 
  
                     if (inParameters[i].getValue().isNull())                     if (inParameters[i].getValue().isNull())
                     {                     {
                         newValue.setNullValue(param.getType(), param.isArray());                          newValue.setNullValue(
                               param.getType(),
                               param.isArray());
                     }                     }
                     else if (inParameters[i].getValue().isArray() !=                     else if (inParameters[i].getValue().isArray() !=
                                  param.isArray())                                  param.isArray())
Line 6584 
Line 6616 
                     }                     }
                     else                     else
                     {                     {
                         newValue = _convertValueType(inParameters[i].getValue(),                          newValue = _convertValueType(
                               inParameters[i].getValue(),
                             paramType);                             paramType);
                     }                     }
  


Legend:
Removed from v.1.263.4.2  
changed lines
  Added in v.1.263.4.3

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2