(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.5.2.15 and 1.11

version 1.5.2.15, 2001/12/12 23:20:24 version 1.11, 2001/12/24 03:11:31
Line 26 
Line 26 
 // Modified By: Nitin Upasani, Hewlett-Packard Company (Nitin_Upasani@hp.com) // Modified By: Nitin Upasani, Hewlett-Packard Company (Nitin_Upasani@hp.com)
 // Modified By: Carol Ann Krug Graves, Hewlett-Packard Company // Modified By: Carol Ann Krug Graves, Hewlett-Packard Company
 //              (carolann_graves@hp.com) //              (carolann_graves@hp.com)
   // Modified By: Mike Day (mdday@us.ibm.com)
 // //
 //%///////////////////////////////////////////////////////////////////////////// //%/////////////////////////////////////////////////////////////////////////////
  
Line 40 
Line 41 
  
 PEGASUS_NAMESPACE_BEGIN PEGASUS_NAMESPACE_BEGIN
  
   // REVIEW: could class be renamed to MessageMask (coding standard)?
   
 class PEGASUS_COMMON_LINKAGE message_mask class PEGASUS_COMMON_LINKAGE message_mask
 { {
    public:    public:
   
         // REVIEW: could these be renamed (e.g., type_legacy to just LEGACY)?
         // REVIEW: see coding standard.
   
       static Uint32 type_legacy;       static Uint32 type_legacy;
       static Uint32 type_CIMClass;        static Uint32 type_CIMOperation;
       static Uint32 type_CIMInstance;        static Uint32 type_CIMAsyncOperation;
       static Uint32 type_CIMIndication;        static Uint32 type_export;
       static Uint32 type_CIMQualifier;        static Uint32 type_lifetime;
       static Uint32 type_CIMSubscription;  
       static Uint32 type_socket;       static Uint32 type_socket;
       static Uint32 type_connection;       static Uint32 type_connection;
       static Uint32 type_http;       static Uint32 type_http;
       static Uint32 type_cimom;       static Uint32 type_cimom;
   
       static Uint32 no_delete;  
   
       static Uint32 type_request;  
       static Uint32 type_reply;  
       static Uint32 type_control;       static Uint32 type_control;
         static Uint32 type_service;
         static Uint32 type_broadcast;
   
         static Uint32 ha_no_delete;
         static Uint32 ha_request;
         static Uint32 ha_reply;
         static Uint32 ha_synchronous;
  
 // more for documentation than for use // more for documentation than for use
       inline Uint32 get_classification(Uint32 flags)  
         inline Uint32 get_type(Uint32 flags)
       {       {
          return (flags & 0x000fffff);          return (flags & 0x000fffff);
       }       }
Line 92 
Line 101 
     Message(     Message(
         Uint32 type,         Uint32 type,
         Uint32 key = getNextKey(),         Uint32 key = getNextKey(),
            Uint32 routing_code = 0,
         Uint32 mask = message_mask::type_legacy)         Uint32 mask = message_mask::type_legacy)
         :         :
         _type(type),         _type(type),
         _key(key),         _key(key),
            _routing_code(routing_code),
         _mask(mask),         _mask(mask),
         _next(0),         _next(0),
         _prev(0)         _prev(0)
Line 113 
Line 124 
  
     void setKey(Uint32 key) { _key = key; }     void setKey(Uint32 key) { _key = key; }
  
       Uint32 getMask() const        Uint32 getRouting() const { return _routing_code; }
       {        void setRouting(Uint32 routing) { _routing_code = routing; }
          return _mask;  
       }  
  
       void setMask(Uint32 mask)        Uint32 getMask() const { return _mask; }
       {  
          _mask = mask;  
       }  
  
         void setMask(Uint32 mask) { _mask = mask; }
  
     Message* getNext() { return _next; }     Message* getNext() { return _next; }
  
Line 146 
Line 153 
 private: private:
       Uint32 _type;       Uint32 _type;
       Uint32 _key;       Uint32 _key;
         Uint32 _routing_code;
       Uint32 _mask;       Uint32 _mask;
       Message* _next;       Message* _next;
       Message* _prev;       Message* _prev;


Legend:
Removed from v.1.5.2.15  
changed lines
  Added in v.1.11

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2