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

RTSPMsgPlay.h

Go to the documentation of this file.
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 RTSP_MSG_PLAY_H 00016 #define RTSP_MSG_PLAY_H 00017 00018 #include "RTSPMsg.h" 00019 00020 namespace RTSP 00021 { 00022 00023 /*--------------------------------------------------------------------* 00024 * Play 00025 *--------------------------------------------------------------------*/ 00026 00030 class Play : public Msg 00031 { 00032 MNString _uri; 00033 MNString _sess_id; 00034 int _cseq; 00035 00036 bool _has_range; 00037 bool _has_range_from_int; 00038 bool _has_range_to_int; 00039 bool _has_range_string; 00040 u_int64_t _range_from_int; 00041 u_int64_t _range_to_int; 00042 MNString _range_string; 00043 public: 00044 Play( const MNString& uri, u_int64_t sessionId, int cseq ); 00045 Play( const MNString& uri, const MNString& sessionId, int cseq ); 00046 00047 void setFromRange( u_int64_t from ); 00048 void setToRange( u_int64_t to ); 00049 void setRangeString( const MNString& range ); 00050 00051 virtual MNString toString( ) const; 00052 }; 00053 00054 }; // namespace RTSP 00055 00056 #endif /* RTSP_MSG_PLAY_H */ 00057

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