| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Mananges all the rtsp sessions for rtsp server.
Destructor Summary | |
~RtspSessionManager() destructor |
Method Summary | |
Data | addRtspSession(Sptr adds a new session into rtsp session map |
bool | delRtspSession(const Data & sessionId) delete an existing session from rtsp session map |
static void | destroy() frees the memory associated with singelton instance |
Sptr | getRtspSession() return first session from rtsp session map |
Sptr | getRtspSession(const Data & sessionId) finds an existing session from rtsp session map |
const int | getSessions() returns the number of current sessions |
static RtspSessionManager & | instance() create a singelton object |
bool | maxSessions(const int max) sets the max number of sessions |
Method Detail |
public ~RtspSessionManager()
Method Detail |
public Data addRtspSession(Sptrsession)
public bool delRtspSession(const Data & sessionId)
public static void destroy()
public SptrgetRtspSession()
public SptrgetRtspSession(const Data & sessionId)
public const int getSessions()
public static RtspSessionManager & instance()
public bool maxSessions(const int max)
Association Links |
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |