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

Diff for /pegasus/src/Pegasus/Common/Message.cpp between version 1.66 and 1.67

version 1.66, 2006/09/08 17:25:01 version 1.67, 2006/11/10 18:14:58
Line 201 
Line 201 
         return _MESSAGE_TYPE_STRINGS[messageType - 1];         return _MESSAGE_TYPE_STRINGS[messageType - 1];
     if(messageType == 0 )     if(messageType == 0 )
        return "HEARTBEAT/REPLY" ;        return "HEARTBEAT/REPLY" ;
     sprintf (s, "Unknown message type ( %d ) ( 0x%04X )", messageType, messageType);      sprintf(s, "Unknown message type ( %d ) ( 0x%04X )",
           messageType, messageType);
     return s;     return s;
 } }
  
  
 CIMOperationType Message::convertMessageTypetoCIMOpType(Uint32 type) CIMOperationType Message::convertMessageTypetoCIMOpType(Uint32 type)
 { {
   
     CIMOperationType enum_type = CIMOPTYPE_GET_CLASS;     CIMOperationType enum_type = CIMOPTYPE_GET_CLASS;
     switch (type)     switch (type)
     {     {
Line 331 
Line 331 
       case CIM_INVOKE_METHOD_RESPONSE_MESSAGE:       case CIM_INVOKE_METHOD_RESPONSE_MESSAGE:
            enum_type = CIMOPTYPE_INVOKE_METHOD;            enum_type = CIMOPTYPE_INVOKE_METHOD;
            break;            break;
   
     default:     default:
            // exicution should never get to this point            // exicution should never get to this point
            PEGASUS_ASSERT(false);            PEGASUS_ASSERT(false);
   
   }   }
   return enum_type;   return enum_type;
 } }
Line 363 
Line 363 
  
   /*This adds the number of bytes read to the total.the request size   /*This adds the number of bytes read to the total.the request size
     value must be stored (requSize) and passed to the StatisticalData     value must be stored (requSize) and passed to the StatisticalData
     object at the end of processing other wise it will be the ONLY vlaue         object at the end of processingm otherwise it will be the ONLY value
     that is passed to the client which reports the current state of the     that is passed to the client which reports the current state of the
     object, not the pevious (one command ago) state */         object, not the previous (one command ago) state */
  
   StatisticalData::current()->addToValue(StatisticalData::current()->requSize,      StatisticalData::current()->addToValue(
                                          statType, StatisticalData::PEGASUS_STATDATA_BYTES_READ);          StatisticalData::current()->requSize,
           statType,
           StatisticalData::PEGASUS_STATDATA_BYTES_READ);
 } }
 #endif #endif
  


Legend:
Removed from v.1.66  
changed lines
  Added in v.1.67

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2