live
Data Structures | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends
RTSPServer::RTSPClientSession Class Reference

#include <RTSPServer.hh>

Inheritance diagram for RTSPServer::RTSPClientSession:
Inheritance graph
[legend]
Collaboration diagram for RTSPServer::RTSPClientSession:
Collaboration graph
[legend]

Data Structures

struct  streamState
 

Protected Member Functions

 RTSPClientSession (RTSPServer &ourServer, u_int32_t sessionId)
 
virtual ~RTSPClientSession ()
 
virtual void handleCmd_SETUP (RTSPClientConnection *ourClientConnection, char const *urlPreSuffix, char const *urlSuffix, char const *fullRequestStr)
 
virtual void handleCmd_withinSession (RTSPClientConnection *ourClientConnection, char const *cmdName, char const *urlPreSuffix, char const *urlSuffix, char const *fullRequestStr)
 
virtual void handleCmd_TEARDOWN (RTSPClientConnection *ourClientConnection, ServerMediaSubsession *subsession)
 
virtual void handleCmd_PLAY (RTSPClientConnection *ourClientConnection, ServerMediaSubsession *subsession, char const *fullRequestStr)
 
virtual void handleCmd_PAUSE (RTSPClientConnection *ourClientConnection, ServerMediaSubsession *subsession)
 
virtual void handleCmd_GET_PARAMETER (RTSPClientConnection *ourClientConnection, ServerMediaSubsession *subsession, char const *fullRequestStr)
 
virtual void handleCmd_SET_PARAMETER (RTSPClientConnection *ourClientConnection, ServerMediaSubsession *subsession, char const *fullRequestStr)
 
void deleteStreamByTrack (unsigned trackNum)
 
void reclaimStreamStates ()
 
Boolean isMulticast () const
 
void setRTSPResponse (RTSPClientConnection *ourClientConnection, char const *responseStr)
 
void setRTSPResponse (RTSPClientConnection *ourClientConnection, char const *responseStr, u_int32_t sessionId)
 
void setRTSPResponse (RTSPClientConnection *ourClientConnection, char const *responseStr, char const *contentStr)
 
void setRTSPResponse (RTSPClientConnection *ourClientConnection, char const *responseStr, u_int32_t sessionId, char const *contentStr)
 
Boolean usesTCPTransport () const
 
UsageEnvironmentenvir ()
 
void noteLiveness ()
 

Static Protected Member Functions

static void noteClientLiveness (ClientSession *clientSession)
 
static void livenessTimeoutTask (ClientSession *clientSession)
 

Protected Attributes

RTSPServerfOurRTSPServer
 
Boolean fIsMulticast
 
Boolean fStreamAfterSETUP
 
unsigned char fTCPStreamIdCount
 
unsigned fNumStreamStates
 
struct
RTSPServer::RTSPClientSession::streamState
fStreamStates
 
GenericMediaServerfOurServer
 
u_int32_t fOurSessionId
 
ServerMediaSessionfOurServerMediaSession
 
TaskToken fLivenessCheckTask
 

Friends

class RTSPServer
 
class RTSPClientConnection
 

Detailed Description

Definition at line 205 of file RTSPServer.hh.

Constructor & Destructor Documentation

RTSPServer::RTSPClientSession::RTSPClientSession ( RTSPServer ourServer,
u_int32_t  sessionId 
)
protected
virtual RTSPServer::RTSPClientSession::~RTSPClientSession ( )
protectedvirtual

Member Function Documentation

void RTSPServer::RTSPClientSession::deleteStreamByTrack ( unsigned  trackNum)
protected
UsageEnvironment& GenericMediaServer::ClientSession::envir ( )
inlineprotectedinherited

Definition at line 113 of file GenericMediaServer.hh.

References Medium::envir(), and GenericMediaServer::ClientSession::fOurServer.

113 { return fOurServer.envir(); }
UsageEnvironment & envir() const
Definition: Media.hh:59
virtual void RTSPServer::RTSPClientSession::handleCmd_GET_PARAMETER ( RTSPClientConnection ourClientConnection,
ServerMediaSubsession subsession,
char const *  fullRequestStr 
)
protectedvirtual
virtual void RTSPServer::RTSPClientSession::handleCmd_PAUSE ( RTSPClientConnection ourClientConnection,
ServerMediaSubsession subsession 
)
protectedvirtual
virtual void RTSPServer::RTSPClientSession::handleCmd_PLAY ( RTSPClientConnection ourClientConnection,
ServerMediaSubsession subsession,
char const *  fullRequestStr 
)
protectedvirtual
virtual void RTSPServer::RTSPClientSession::handleCmd_SET_PARAMETER ( RTSPClientConnection ourClientConnection,
ServerMediaSubsession subsession,
char const *  fullRequestStr 
)
protectedvirtual
virtual void RTSPServer::RTSPClientSession::handleCmd_SETUP ( RTSPClientConnection ourClientConnection,
char const *  urlPreSuffix,
char const *  urlSuffix,
char const *  fullRequestStr 
)
protectedvirtual
virtual void RTSPServer::RTSPClientSession::handleCmd_TEARDOWN ( RTSPClientConnection ourClientConnection,
ServerMediaSubsession subsession 
)
protectedvirtual
virtual void RTSPServer::RTSPClientSession::handleCmd_withinSession ( RTSPClientConnection ourClientConnection,
char const *  cmdName,
char const *  urlPreSuffix,
char const *  urlSuffix,
char const *  fullRequestStr 
)
protectedvirtual
Boolean RTSPServer::RTSPClientSession::isMulticast ( ) const
inlineprotected

Definition at line 232 of file RTSPServer.hh.

References fIsMulticast.

232 { return fIsMulticast; }
static void GenericMediaServer::ClientSession::livenessTimeoutTask ( ClientSession clientSession)
staticprotectedinherited
static void GenericMediaServer::ClientSession::noteClientLiveness ( ClientSession clientSession)
staticprotectedinherited
void GenericMediaServer::ClientSession::noteLiveness ( )
protectedinherited
void RTSPServer::RTSPClientSession::reclaimStreamStates ( )
protected
void RTSPServer::RTSPClientSession::setRTSPResponse ( RTSPClientConnection ourClientConnection,
char const *  responseStr 
)
inlineprotected

Definition at line 235 of file RTSPServer.hh.

References RTSPServer::RTSPClientConnection::setRTSPResponse().

235 { ourClientConnection->setRTSPResponse(responseStr); }
void RTSPServer::RTSPClientSession::setRTSPResponse ( RTSPClientConnection ourClientConnection,
char const *  responseStr,
u_int32_t  sessionId 
)
inlineprotected

Definition at line 236 of file RTSPServer.hh.

References RTSPServer::RTSPClientConnection::setRTSPResponse().

236 { ourClientConnection->setRTSPResponse(responseStr, sessionId); }
void RTSPServer::RTSPClientSession::setRTSPResponse ( RTSPClientConnection ourClientConnection,
char const *  responseStr,
char const *  contentStr 
)
inlineprotected

Definition at line 237 of file RTSPServer.hh.

References RTSPServer::RTSPClientConnection::setRTSPResponse().

237 { ourClientConnection->setRTSPResponse(responseStr, contentStr); }
void RTSPServer::RTSPClientSession::setRTSPResponse ( RTSPClientConnection ourClientConnection,
char const *  responseStr,
u_int32_t  sessionId,
char const *  contentStr 
)
inlineprotected

Definition at line 238 of file RTSPServer.hh.

References RTSPServer::RTSPClientConnection::setRTSPResponse().

238 { ourClientConnection->setRTSPResponse(responseStr, sessionId, contentStr); }
Boolean RTSPServer::RTSPClientSession::usesTCPTransport ( ) const
inlineprotected

Definition at line 244 of file RTSPServer.hh.

References fTCPStreamIdCount.

244 { return fTCPStreamIdCount > 0; }

Friends And Related Function Documentation

friend class RTSPClientConnection
friend

Definition at line 211 of file RTSPServer.hh.

friend class RTSPServer
friend

Definition at line 210 of file RTSPServer.hh.

Field Documentation

Boolean RTSPServer::RTSPClientSession::fIsMulticast
protected

Definition at line 242 of file RTSPServer.hh.

Referenced by isMulticast().

TaskToken GenericMediaServer::ClientSession::fLivenessCheckTask
protectedinherited

Definition at line 124 of file GenericMediaServer.hh.

unsigned RTSPServer::RTSPClientSession::fNumStreamStates
protected

Definition at line 245 of file RTSPServer.hh.

RTSPServer& RTSPServer::RTSPClientSession::fOurRTSPServer
protected

Definition at line 241 of file RTSPServer.hh.

GenericMediaServer& GenericMediaServer::ClientSession::fOurServer
protectedinherited

Definition at line 121 of file GenericMediaServer.hh.

Referenced by GenericMediaServer::ClientSession::envir().

ServerMediaSession* GenericMediaServer::ClientSession::fOurServerMediaSession
protectedinherited

Definition at line 123 of file GenericMediaServer.hh.

u_int32_t GenericMediaServer::ClientSession::fOurSessionId
protectedinherited

Definition at line 122 of file GenericMediaServer.hh.

Boolean RTSPServer::RTSPClientSession::fStreamAfterSETUP
protected

Definition at line 242 of file RTSPServer.hh.

struct RTSPServer::RTSPClientSession::streamState * RTSPServer::RTSPClientSession::fStreamStates
protected
unsigned char RTSPServer::RTSPClientSession::fTCPStreamIdCount
protected

Definition at line 243 of file RTSPServer.hh.

Referenced by usesTCPTransport().


The documentation for this class was generated from the following file: