(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.75 and 1.76

version 1.75, 2006/06/02 18:22:35 version 1.76, 2006/07/11 18:39:28
Line 57 
Line 57 
 #include <Pegasus/Common/Linkage.h> #include <Pegasus/Common/Linkage.h>
 #include <Pegasus/Common/TimeValue.h> #include <Pegasus/Common/TimeValue.h>
 #include <Pegasus/Common/CIMOperationType.h> #include <Pegasus/Common/CIMOperationType.h>
   #include <Pegasus/Common/Linkable.h>
   #include <Pegasus/Common/IDFactory.h>
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
Line 125 
Line 127 
     The Message class also provides previous and next pointers which are     The Message class also provides previous and next pointers which are
     used to place the messages on a queue by the MessageQueue class.     used to place the messages on a queue by the MessageQueue class.
 */ */
 class PEGASUS_COMMON_LINKAGE Message  class PEGASUS_COMMON_LINKAGE Message : public Linkable
 { {
    public:    public:
  
Line 253 
Line 255 
  
       const Message* getPrevious() const { return _prev; }       const Message* getPrevious() const { return _prev; }
  
       static Uint32 getNextKey()        static Uint32 getNextKey() { return _keyFactory.getID(); }
       {  
           AutoMutex autoMut(_mut);  
           Uint32 ret = _nextKey++;  
           return ret;  
       }  
  
       static CIMOperationType convertMessageTypetoCIMOpType(Uint32 type);       static CIMOperationType convertMessageTypetoCIMOpType(Uint32 type);
  
Line 268 
Line 265 
           Boolean printHeader = true) const;           Boolean printHeader = true) const;
 #endif #endif
  
       // << Thu Dec 27 10:46:04 2001 mdd >> for use with DQueue container  
       // as used by AsyncOpNode  
       Boolean operator == (const void *msg )       Boolean operator == (const void *msg )
       {       {
          if (reinterpret_cast<void *>(this) == msg )          if (reinterpret_cast<void *>(this) == msg )
Line 366 
Line 361 
       MessageQueue* _owner;       MessageQueue* _owner;
       Boolean _isComplete;       Boolean _isComplete;
       Uint32 _index;       Uint32 _index;
       static Uint32 _nextKey;        static IDFactory _keyFactory;
       static Mutex _mut;  
   
   
  
       friend class cimom;       friend class cimom;
       friend class MessageQueue;       friend class MessageQueue;


Legend:
Removed from v.1.75  
changed lines
  Added in v.1.76

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2