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

Diff for /pegasus/src/Pegasus/Common/Message.h between version 1.62 and 1.63

version 1.62, 2005/02/05 22:59:23 version 1.63, 2005/02/25 04:22:09
Line 53 
Line 53 
 #include <Pegasus/Common/StatisticalData.h> #include <Pegasus/Common/StatisticalData.h>
 #include <Pegasus/Common/Linkage.h> #include <Pegasus/Common/Linkage.h>
 #include <Pegasus/Common/CIMDateTime.h> #include <Pegasus/Common/CIMDateTime.h>
   #include <Pegasus/Common/CIMOperationType.h>
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
Line 189 
Line 190 
  
       void setHttpMethod(HttpMethod httpMethod) {_httpMethod = httpMethod;}       void setHttpMethod(HttpMethod httpMethod) {_httpMethod = httpMethod;}
  
   
 #ifndef PEGASUS_DISABLE_PERFINST #ifndef PEGASUS_DISABLE_PERFINST
 // //
 // Needed for performance measurement // Needed for performance measurement
Line 253 
Line 255 
           return ret;           return ret;
       }       }
  
         static CIMOperationType convertMessageTypetoCIMOpType(const Uint32 type)
         {
             Uint32 in_type, enum_type;
             CIMOperationType cT;
   
   
             in_type = type%40;      /* groups request/response message by type ie. getClassRequestMessage
                                   (type = 1) gives the same result as getClassResponseMessage (type = 41)*/
   
             if (in_type < 3) {
                enum_type = in_type;
                }
             else if((3 < in_type) && (in_type < 25)){
                enum_type = in_type -1;
                }
            else if (in_type == 25) {
               enum_type = 0;
               }
            else{
               return ((CIMOperationType)40); //error condition
               }
   
           cT = (CIMOperationType)enum_type;
           return cT;
           }
   
   
       virtual void print(       virtual void print(
           PEGASUS_STD(ostream)& os,           PEGASUS_STD(ostream)& os,
           Boolean printHeader = true) const;           Boolean printHeader = true) const;


Legend:
Removed from v.1.62  
changed lines
  Added in v.1.63

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2