RTPApplication.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                        RTPApplication.h  -  description
00003                              -------------------
00004     (C) 2007 Ahmed Ayadi  <ahmed.ayadi@sophia.inria.fr>
00005     (C) 2001 Matthias Oppitz <Matthias.Oppitz@gmx.de>
00006  ***************************************************************************/
00007 
00008 /***************************************************************************
00009  *                                                                         *
00010  *   This program is free software; you can redistribute it and/or modify  *
00011  *   it under the terms of the GNU General Public License as published by  *
00012  *   the Free Software Foundation; either version 2 of the License, or     *
00013  *   (at your option) any later version.                                   *
00014  *                                                                         *
00015  ***************************************************************************/
00016 
00017 #ifndef __INET_RTPAPPLICATION_H
00018 #define __INET_RTPAPPLICATION_H
00019 
00020 #include "INETDefs.h"
00021 
00027 class INET_API RTPApplication : public cSimpleModule
00028 {
00029     public:
00033         RTPApplication() : cSimpleModule(32768) {}
00034 
00038         virtual void initialize();
00039 
00044         virtual void activity();
00045 
00046     protected:
00047 
00051         const char *_commonName;
00052 
00056         const char *_profileName;
00057 
00061         int _bandwidth;
00062 
00066         IPAddress _destinationAddress;
00067 
00071         int _port;
00072 
00076         const char *_fileName;
00077 
00081         int _payloadType;
00082 
00086         simtime_t _sessionEnterDelay;
00087 
00091         simtime_t _transmissionStartDelay;
00092 
00096         simtime_t _transmissionStopDelay;
00097 
00101         simtime_t _sessionLeaveDelay;
00102 
00103 };
00104 
00105 #endif
00106 
00107