00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
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
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 };
00055
00056
#endif
00057