(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.84 and 1.85

version 1.84, 2006/09/08 17:25:01 version 1.85, 2006/09/12 17:20:14
Line 73 
Line 73 
     (see MessageQueue class). Derived classes may add their own fields.     (see MessageQueue class). Derived classes may add their own fields.
     This base class defines a common type field, which is the type of     This base class defines a common type field, which is the type of
     the message.     the message.
   
     The Message class also provides previous and next pointers which are  
     used to place the messages on a queue by the MessageQueue class.  
 */ */
 class PEGASUS_COMMON_LINKAGE Message : public Linkable class PEGASUS_COMMON_LINKAGE Message : public Linkable
 { {
Line 99 
Line 96 
          _isComplete(true),          _isComplete(true),
          _index(0)          _index(0)
       {       {
   
       }       }
  
       Message & operator = ( const Message & msg)        virtual ~Message();
       {  
          if (this != &msg)  
          {  
             _type = msg._type;  
             _mask = msg._mask;  
             _last_thread_id = msg._last_thread_id;  
             _async = 0;  
             dest = msg.dest;  
                         _httpMethod = msg._httpMethod;  
                         _index = msg._index;  
                         _isComplete = msg._isComplete;  
   
          }  
          return *this;  
       }  
  
         // NOTE: The compiler default implementation of the copy constructor
         // is used for this class.
  
       virtual ~Message();  
       Boolean getCloseConnect() const { return _close_connect; }       Boolean getCloseConnect() const { return _close_connect; }
       void setCloseConnect(Boolean close_connect)       void setCloseConnect(Boolean close_connect)
       {       {
Line 192 
Line 174 
          Message *ret = _async;          Message *ret = _async;
          _async = 0;          _async = 0;
          return ret;          return ret;
   
       }       }
  
       void put_async(Message * msg)       void put_async(Message * msg)
Line 251 
Line 232 
    public:    public:
       Message *_async;       Message *_async;
       Uint32 dest;       Uint32 dest;
           //needed for PEP 128 - transmitting Server Response Time to Client  
  
    private:    private:
         Message& operator=(const Message& msg);
   
       Boolean _isComplete;       Boolean _isComplete;
       Uint32 _index;       Uint32 _index;
   
       friend class cimom;  
       friend class MessageQueueService;  
       friend class AsyncLegacyOperationStart;  
       friend class AsyncLegacyOperationResult;  
   
 }; };
  
  


Legend:
Removed from v.1.84  
changed lines
  Added in v.1.85

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2