00001 /*************************************************************************** 00002 RTSPClientModule.h 00003 ------------------- 00004 begin : Fri May 17 2002 00005 ***************************************************************************/ 00006 00007 /*************************************************************************** 00008 * * 00009 * This program is free software; you can redistribute it and/or modify * 00010 * it under the terms of the GNU General Public License as published by * 00011 * the Free Software Foundation; either version 2 of the License, or * 00012 * (at your option) any later version. * 00013 * * 00014 ***************************************************************************/ 00015 00020 #include "omnetpp.h" 00021 #include "RTSPMessage_m.h" 00022 00029 class RTSPClientModule : public cSimpleModule { 00030 00031 00032 Module_Class_Members(RTSPClientModule, cSimpleModule, 0); 00033 00037 virtual void initialize(); 00038 00042 virtual void handleMessage(cMessage *msg); 00043 00044 00045 protected: 00046 00050 virtual void handleMessageFromApp(cMessage *msg); 00051 00055 virtual void handleMessageFromClientProcess(cMessage *msg); 00056 00060 virtual void createSession(); 00061 00062 00063 private: 00064 00068 int _debug; 00069 00070 /* 00071 The handled request. 00072 */ 00073 rtspRequest *request; 00074 00075 };