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

RTSPParserBase Class Reference

#include <RTSPParserBase.h>

Inheritance diagram for RTSPParserBase:

Inheritance graph
[legend]
Collaboration diagram for RTSPParserBase:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RTSPParserBase (int seq, ControlBase *rfb, RTSP::KindOfHeader kindOfHeader, const RTSPSchemeClass *scheme=NULL)
 RTSPParserBase (int seq, int Code, ControlBase *rfb, RTSP::KindOfHeader kindOfHeader, const RTSPSchemeClass *scheme=NULL)
virtual ~RTSPParserBase ()
virtual void parsePostProcess ()
bool postProcessingDone () const
void getUrlPath (MNString &uri, MNString &url, MNString &path)
void addHeaderLines (ParseHeaderLines *headerLines)
int StreamExists (const char *StreamName)
void MsgOut (int errorNum)
void MsgOut (int errorNum, MNString info, MNString body)
ParseHeaderLinesgetHeaderLines ()
bool isMulticastRequested ()
bool isHeaderCorrect ()
bool isDestinationSet ()
int getHeaderErrorNum ()
int clientPortAnnouncement ()
int serverPortAnnouncement ()
const MNStringgetHeaderErrorString ()
MNString getDestination ()
const MNStringgetSessionIdString ()
u_int64_t getSessionId ()
int getReplyCode ()
const MNStringgetLastModified ()
bool hasLastModified ()
bool hasRTPInfo ()
u_int32 getRTPInfoRTPTime (int idx, bool &error)
int getCSeq ()
ControlBasegetFillBuffer ()
RTSP::KindOfHeader getKind () const
MNStringtoString ()
SDPSessionDescriptiongetSDPSessionDescription ()
void setSDPSessionDescription (SDPSessionDescription *)
MNStringgetParsedText ()
void setParsedText (const MNString &str)
void append2ParsedText (const MNString &text)
void getHeaderLine (const MNString &HeaderName, MNString &Dest)
MNStringgetUrl ()
MNStringgetFullUrl ()
MNStringgetUri ()
virtual void call (MNSelector &slct)=0
void setRtspSocket (int sock)
int getRtspSocket () const

Protected Attributes

ControlBase_rfb
SDPSessionDescription_sdp

Constructor & Destructor Documentation

RTSPParserBase::RTSPParserBase int  seq,
ControlBase rfb,
RTSP::KindOfHeader  kindOfHeader,
const RTSPSchemeClass scheme = NULL
 

RTSPParserBase::RTSPParserBase int  seq,
int  Code,
ControlBase rfb,
RTSP::KindOfHeader  kindOfHeader,
const RTSPSchemeClass scheme = NULL
 

virtual RTSPParserBase::~RTSPParserBase  )  [virtual]
 


Member Function Documentation

void RTSPParserBase::addHeaderLines ParseHeaderLines headerLines  ) 
 

void RTSPParserBase::append2ParsedText const MNString text  ) 
 

virtual void RTSPParserBase::call MNSelector slct  )  [pure virtual]
 

Implemented in RTSPAnnounceHeader, RTSPDescribeHeader, RTSPGetParameterHeader, RTSPOptionsHeader, RTSPPauseHeader, RTSPPlayHeader, RTSPReplyHeader, RTSPSetupHeader, RTSPTeardownHeader, RTSPAnnounceHeader, RTSPDescribeHeader, RTSPGetParameterHeader, RTSPOptionsHeader, RTSPPauseHeader, RTSPPlayHeader, RTSPReplyHeader, RTSPSetParameterHeader, RTSPSetupHeader, RTSPTeardownHeader, TestCachingDescribeHeader, TestCachingPlayHeader, TestCachingReplyHeader, TestCachingSetupHeader, TestCachingTeardownHeader, RTSPProxyAnnounceHeader, RTSPProxyDescribeHeader, RTSPProxyGetParameterHeader, RTSPProxyOptionsHeader, RTSPProxyPauseHeader, RTSPProxyPlayHeader, RTSPProxyReplyHeader, RTSPProxySetParameterHeader, RTSPProxySetupHeader, and RTSPProxyTeardownHeader.

int RTSPParserBase::clientPortAnnouncement  ) 
 

int RTSPParserBase::getCSeq  ) 
 

MNString RTSPParserBase::getDestination  ) 
 

ControlBase* RTSPParserBase::getFillBuffer  ) 
 

MNString& RTSPParserBase::getFullUrl  ) 
 

int RTSPParserBase::getHeaderErrorNum  ) 
 

const MNString& RTSPParserBase::getHeaderErrorString  ) 
 

void RTSPParserBase::getHeaderLine const MNString HeaderName,
MNString Dest
 

ParseHeaderLines* RTSPParserBase::getHeaderLines  ) 
 

RTSP::KindOfHeader RTSPParserBase::getKind  )  const
 

const MNString& RTSPParserBase::getLastModified  ) 
 

MNString* RTSPParserBase::getParsedText  )  [inline]
 

int RTSPParserBase::getReplyCode  ) 
 

Reimplemented in RTSPReplyHeader.

u_int32 RTSPParserBase::getRTPInfoRTPTime int  idx,
bool &  error
 

int RTSPParserBase::getRtspSocket  )  const
 

Called by child classes to retrieve the socket, e.g. for storing in the session factory. Intended to be called by SetupHeader only.

SDPSessionDescription* RTSPParserBase::getSDPSessionDescription  )  [inline]
 

u_int64_t RTSPParserBase::getSessionId  ) 
 

Returns session ID as unsigned 64 bit integer.

const MNString& RTSPParserBase::getSessionIdString  ) 
 

MNString& RTSPParserBase::getUri  ) 
 

MNString& RTSPParserBase::getUrl  ) 
 

void RTSPParserBase::getUrlPath MNString uri,
MNString url,
MNString path
 

bool RTSPParserBase::hasLastModified  ) 
 

bool RTSPParserBase::hasRTPInfo  ) 
 

bool RTSPParserBase::isDestinationSet  ) 
 

bool RTSPParserBase::isHeaderCorrect  ) 
 

bool RTSPParserBase::isMulticastRequested  ) 
 

void RTSPParserBase::MsgOut int  errorNum,
MNString  info,
MNString  body
 

void RTSPParserBase::MsgOut int  errorNum  ) 
 

virtual void RTSPParserBase::parsePostProcess  )  [virtual]
 

Simplify some of the structures that have been created during parsing of the RTSP information.

bool RTSPParserBase::postProcessingDone  )  const
 

Returns true when parsePostProcess has been called after parsing and false otherwise.

int RTSPParserBase::serverPortAnnouncement  ) 
 

void RTSPParserBase::setParsedText const MNString str  ) 
 

void RTSPParserBase::setRtspSocket int  sock  ) 
 

Called by the RTSPParserBase to store a socket for unexpectedly closing sockets.

See also:
_rtsp_socket

void RTSPParserBase::setSDPSessionDescription SDPSessionDescription  ) 
 

int RTSPParserBase::StreamExists const char *  StreamName  ) 
 

MNString& RTSPParserBase::toString  ) 
 


Member Data Documentation

ControlBase* RTSPParserBase::_rfb [protected]
 

Reimplemented in RTSPSetupHeader.

SDPSessionDescription* RTSPParserBase::_sdp [protected]
 


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 13:36:11 2005 for Komssys by doxygen 1.3.8