SSession Class Reference
This class contains all information about an active streaming session. More...
#include <SSession.hpp>
Public Member Functions | |
SSession (uint RtspSessionId, char *URL, char *clientAdr, char *SemiMovieId, uint OriginRtspSessionId, ulong prevDuration, uint bufferingDelayms, TimeMeasurement *timemsmnt) | |
Constructor called from SemiProxy. | |
SSession (uint RtspSessionId, char *URL, char *clientAdr, char *SemiMovieId, uint OriginRtspSessionId, ulong estMsecsElapsed, uint State, ulong duration, ulong prevDuration, uint tsCount, ulong tsCreation, ulong tsClosed) | |
Constructor called from SemiServer. | |
~SSession () | |
default destructor | |
uint | getRtspSessionId () |
void | setRtspSessionId (uint SessionId) |
set Rtsp Session-Id of this session | |
char * | getUrl () |
char * | getClientAdr () |
char * | getSemiMovieId () |
uint | getOriginRtspSessionId () |
ulong | getPreviousSessionDuration () |
ulong | getElapsedMsecs (uint sectionNr=0, ulong serverPlayout=0, ulong clientPlayout=0) |
ulong | getDuration () |
uint | getTimeSectionCount () |
uint | getBufferingDelay () |
uint | getState () |
ulong | getTimestampCreated () |
ulong | getTimestampClosed () |
void | setActive () |
Set current session state to STATE_RUNNING. | |
void | setInactive () |
Set current session state to STATE_PAUSED. | |
void | setClosed () |
mark this session as 'closed by the client' | |
bool | isClosed () |
bool | isMaster () |
Detailed Description
This class contains all information about an active streaming session.It is used from SessionMgmt.cpp (on proxy-side) and from SessionList.cpp (on server-side).
- Author:
- Klaus Schoeffmann
Definition at line 76 of file SSession.hpp.
Member Function Documentation
|
Referenced by SessionMgmt::listSessions().
|
|
Referenced by SessionMgmt::listSessions(), SessionList::retrieveSessions(), ServerCommunication::sendSessionsToServer(), and SessionList::writeHTMLRepresentation().
|
|
References TimeMeasurement::getDuration(). Referenced by SessionList::retrieveSessions(), ServerCommunication::sendSessionsToServer(), and SessionList::writeHTMLRepresentation().
|
|
References TimeMeasurement::getElapsedTime(). Referenced by SessionMgmt::listSessions(), SemiProxySession::play(), SessionList::retrieveSessions(), ServerCommunication::sendSessionsToServer(), and SessionList::writeHTMLRepresentation().
|
|
Referenced by SessionMgmt::listSessions(), SessionList::retrieveSessions(), ServerCommunication::sendSessionsToServer(), and SessionList::writeHTMLRepresentation().
|
|
References TimeMeasurement::getPreviousSessionDuration(). Referenced by SemiProxySession::play(), SessionList::retrieveSessions(), ServerCommunication::sendSessionsToServer(), and SessionList::writeHTMLRepresentation().
|
|
Referenced by SessionMgmt::getSession(), SessionMgmt::listSessions(), SessionMgmt::removeSession(), SessionList::retrieveSessions(), ServerCommunication::sendSessionsToServer(), SSession(), SessionList::writeHTMLRepresentation(), and ~SSession().
|
|
Referenced by SessionMgmt::listSessions(), SessionList::retrieveSessions(), ServerCommunication::sendSessionsToServer(), and SessionList::writeHTMLRepresentation().
|
|
Referenced by SemiProxySession::handlePlayResponse(), SemiProxySession::play(), SessionList::retrieveSessions(), ServerCommunication::sendSessionsToServer(), and SessionList::writeHTMLRepresentation().
|
|
References TimeMeasurement::getTimeSectionCount(). Referenced by SessionList::retrieveSessions(), ServerCommunication::sendSessionsToServer(), and SessionList::writeHTMLRepresentation().
|
|
Referenced by SessionList::retrieveSessions(), ServerCommunication::sendSessionsToServer(), and SessionList::writeHTMLRepresentation().
|
|
Referenced by SessionList::retrieveSessions(), ServerCommunication::sendSessionsToServer(), and SessionList::writeHTMLRepresentation().
|
|
Referenced by SessionMgmt::listSessions(), SessionList::retrieveSessions(), and ServerCommunication::sendSessionsToServer().
|
|
Referenced by SemiProxySession::closeSession(), and SessionList::writeHTMLRepresentation().
|
|
|
The documentation for this class was generated from the following files: