00001 /*************************************************************************** 00002 RTPSenderStatusMessage.h - description 00003 ------------------- 00004 begin : Sat Aug 17 2002 00005 copyright : (C) 2002 by Matthias Oppitz, Arndt Buschmann 00006 email : <matthias.oppitz@gmx.de> <a.buschmann@gmx.de> 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef RTPSenderStatusMessage_H 00019 #define RTPSenderStatusMessage_H 00020 00021 #include <cmessage.h> 00022 #include "types.h" 00023 00032 class RTPSenderStatusMessage : public cMessage { 00033 public: 00034 00038 RTPSenderStatusMessage(const char *name = NULL); 00039 00043 RTPSenderStatusMessage(const RTPSenderStatusMessage& message); 00044 00048 ~RTPSenderStatusMessage(); 00049 00053 RTPSenderStatusMessage& operator=(const RTPSenderStatusMessage& message); 00054 00058 cObject *dup() const; 00059 00063 const char *className() const; 00064 00068 virtual const char *status() const; 00069 00073 virtual void setStatus(const char *status); 00074 00075 virtual void setTimeStamp(const u_int32 timestamp); 00076 00077 virtual const u_int32 timeStamp(); 00078 00079 private: 00080 00084 const char *_status; 00085 00086 u_int32 _timeStamp; 00087 00088 }; 00089 00090 #endif