ServerSession Class Reference
<class description="" goes="" here=""> <short description=""> More...
#include <ServerSession.hpp>
Inheritance diagram for ServerSession:
Public Member Functions | |
ServerSession (int socket, const struct sockaddr_in *client, CacheManager *cm, AdmissionControl *am, bool enableRtx, SessionCounter *counter=NULL, TerminalCapabilities *tc=NULL) | |
socket: the raw socket for initializing the session control channel. | |
bool | options (const Url *fileName, const char *remaining) |
bool | connect (const Url *fileName, const char *remaining) |
bool | setup (const Url *fileName, const char *remaining) |
bool | play (const Url *fileName, const char *remaining) |
bool | pause (const Url *fileName, const char *remaining) |
bool | tearDown (int sessionKey, bool immediate=false, const Url *fileName=NULL, const char *remaining=NULL) |
teardowns the session specified with sessionKey (if no fileName and no reminaing is specified. | |
bool | getOptions (const Url *fileName, const char *remaining) |
bool | setOptions (const Url *fileName, const char *remaining) |
void | run () |
void | setUrl (const Url *uri, bool makeExactMatch=true) |
deep-copies uri, sets mp4Stream by asking the cacheManager | |
SessionState | getState () const |
Protected Member Functions | |
bool | startDCs (int sessionId, double startTime, double endTime, double prefetch, bool backwardsClosestIFrame) |
Protected Attributes | |
char | buffer [MSG_BUFFER_SIZE] |
sets output at the client | |
CacheManager * | cm |
char * | localAddress |
char * | playerId |
std::map< u32, std::map< char *, char *, struct stringCompare > *, struct intCompare > | params |
stores to an session id a map of params | |
AdmissionControl * | admControl |
bool | enableRtx |
SessionCounter * | counter |
Detailed Description
<class description="" goes="" here=""> <short description="">
- Author:
- Michael Kropfberger and Peter Schojer
- Version:
- Id
- ServerSession.hpp,v 1.13 2006/01/20 15:37:54 mkropfbe Exp
Definition at line 86 of file ServerSession.hpp.
Constructor & Destructor Documentation
|
socket: the raw socket for initializing the session control channel. the client info is deep-copied Definition at line 70 of file ServerSession.cpp.
|
Member Function Documentation
|
deep-copies uri, sets mp4Stream by asking the cacheManager
Implements Session. Definition at line 870 of file ServerSession.cpp. References ContainerInfo::clone(), CacheManager::findMetaObject(), MetaObject::findMp4Stream(), TerminalCapabilities::getColorDisplay(), TerminalCapabilities::getDisplayHeight(), TerminalCapabilities::getDisplayRefreshRate(), TerminalCapabilities::getDisplayWidth(), Url::getFileName(), ContainerInfo::getFirstVisualES(), TerminalCapabilities::getMaxDecoderBitRateInBit(), TerminalCapabilities::getNetworkCapacityInByte(), CacheManager::getVideo(), and Url::toString().
|
|
teardowns the session specified with sessionKey (if no fileName and no reminaing is specified. Otherwise remaining will be parsed for the sessionkey, and the first param is ignored Implements Session. Definition at line 533 of file ServerSession.cpp. References buffer, RTSP::generateOk(), RTSP::generateSessionNotFound(), RTSP::getBuffer(), and RTSP::incSeqNr().
|
The documentation for this class was generated from the following files: