00001 /* Copyright (C) 2002 Carsten Griwodz 00002 * 00003 * You are allowed to use all other parts of the code under the following terms: 00004 * 00005 * For non-commercial use, this code may be used in unmodified form 00006 * provided that this copyright notice and this permission notice appear 00007 * in supporting documentation. 00008 * 00009 * The code may be made subject to the terms of the GNU General Public 00010 * License, Version 2, and re-distributed under the terms of this license. 00011 * 00012 * Commercial use other than under the terms of the GNU General Public 00013 * License is allowed only after negotiation of conditions with the authors. 00014 */ 00015 #ifndef TEST_CACHING_REPLY_HEADER_H 00016 #define TEST_CACHING_REPLY_HEADER_H 00017 00018 #include "RTSPReplyHeader.h" 00019 #include "ParseTransport.h" 00020 #include "RTSPHeader.h" 00021 #include "MNValid.h" 00022 00023 class ControlBase; 00024 00025 class TestCachingReplyHeader : public RTSPReplyHeader 00026 { 00027 DECLARE_VALID 00028 00029 int _session_id; 00030 ParseHeaderLines _header_lines; 00031 public: 00032 TestCachingReplyHeader( RTSP::KindOfHeader kind, 00033 int CSeq, 00034 int Code, 00035 ControlBase* rfb, 00036 int session_id ); 00037 virtual ~TestCachingReplyHeader( ); 00038 00039 virtual void call( MNSelector& slct ); 00040 00041 }; 00042 00043 #endif /* TEST_CACHING_REPLY_HEADER_H */