Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

HeaderFactory.h

Go to the documentation of this file.
00001 /* Copyright (C) 2000 KOM/Darmstadt University of Technology 00002 * 00003 * You are allowed to use all other parts of the code under the following terms: 00004 * 00005 * For non-commercial use, code may be used in unmodified form provided 00006 * that this copyright notice and this permission notice appear in 00007 * supporting documentation. 00008 * 00009 * This software is provided "as is" and without any express or implied 00010 * warranties, including, without limitation, the implied warranty of 00011 * fitness for a particular purpose. 00012 * 00013 * The code may be subjected to the GNU General Public License, Version 2, 00014 * and re-distributed under the terms of this license. 00015 * As a special exception, permission is granted to link this code 00016 * with the Qt library and distribute executables, as long as you 00017 * follow the requirements of the GNU GPL in regard to all of the 00018 * software in the executable aside from Qt. 00019 * 00020 * Commercial use other than under the terms of the GNU General Public 00021 * License is allowed only after express negotiation of conditions 00022 * with the authors. 00023 */ 00024 #ifndef HEADER_FACTORY_H 00025 #define HEADER_FACTORY_H 00026 00027 class RTSPParserBase; 00028 class ControlBase; 00029 class RTSPSchemeClass; 00030 00031 class HeaderFactory 00032 { 00033 public: 00034 static HeaderFactory* factory; 00035 00036 00037 virtual RTSPParserBase* getRTSPAnnounceHeader( int seq, 00038 RTSPSchemeClass* scheme, 00039 ControlBase* rfb ) = 0; 00040 virtual RTSPParserBase* getRTSPDescribeHeader( int seq, 00041 RTSPSchemeClass* scheme, 00042 ControlBase* rfb ) = 0; 00043 virtual RTSPParserBase* getRTSPGetParameterHeader( int seq, 00044 RTSPSchemeClass* scheme, 00045 ControlBase* rfb ) = 0; 00046 virtual RTSPParserBase* getRTSPSetParameterHeader( int seq, 00047 RTSPSchemeClass* scheme, 00048 ControlBase* rfb ) = 0; 00049 virtual RTSPParserBase* getRTSPOptionsHeader( int CSeq, ControlBase* rfb ) = 0; 00050 virtual RTSPParserBase* getRTSPPauseHeader( int seq, 00051 RTSPSchemeClass* scheme, 00052 ControlBase* rfb ) = 0; 00053 virtual RTSPParserBase* getRTSPPlayHeader( int CSeq, 00054 RTSPSchemeClass* scheme, 00055 ControlBase* rfb ) = 0; 00056 virtual RTSPParserBase* getRTSPSetupHeader( int CSeq, 00057 RTSPSchemeClass* scheme, 00058 ControlBase* rfb ) = 0; 00059 virtual RTSPParserBase* getRTSPTeardownHeader( int CSeq, 00060 RTSPSchemeClass* scheme, 00061 ControlBase* rfb ) = 0; 00062 virtual RTSPParserBase* getRTSPReplyHeader( int CSeq, 00063 int Code, 00064 ControlBase* rfb ) = 0; 00065 00072 virtual void forgetSessionsBySocket( int rtsp_sock ) = 0; 00073 }; 00074 00075 #endif /* HEADER_FACTORY_H */

Generated on Sun Mar 6 13:35:49 2005 for Komssys by doxygen 1.3.8