|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Objectcom.wowza.wms.rtp.model.RTPSessions
public class RTPSessions
RTPSessions: collection of RTP sessions
| Constructor Summary | |
|---|---|
RTPSessions(IVHost vhost)
Constructor |
|
| Method Summary | |
|---|---|
RTPSession |
addSession(RTPSession session)
Add RTP session |
void |
addSessionListener(IRTPSessionNotify listener)
Add a RTP session listener |
String |
getNextSessionId()
Get next RTP session id for new session |
RTPSession |
getSession(String sessionId)
Get RTP session by session id |
java.util.List<String> |
getSessionIds()
Get list of current RTP session ids |
IVHost |
getVHost()
Get vhost |
void |
notifySessionCreate(IApplicationInstance appInstance,
RTPSession rtpSession)
Notify session create |
void |
notifySessionCreate(RTPSession rtpSession)
Notify session create |
void |
notifySessionDestroy(IApplicationInstance appInstance,
RTPSession rtpSession)
Notify session destroy |
void |
notifySessionDestroy(RTPSession rtpSession)
Notify session destroy |
void |
releaseSessionId(String sessionIdStr)
Release an RTP session id |
RTPSession |
removeSession(RTPSession session)
Remove RTP session by object |
RTPSession |
removeSession(String sessionId)
Remove RTP session by session id |
void |
removeSessionListener(IRTPSessionNotify listener)
Remove an RTP session listener |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RTPSessions(IVHost vhost)
vhost - vhost| Method Detail |
|---|
public RTPSession addSession(RTPSession session)
session - RTP session
public void addSessionListener(IRTPSessionNotify listener)
listener - RTP session listenerpublic String getNextSessionId()
public RTPSession getSession(String sessionId)
sessionId - session id
public java.util.List<String> getSessionIds()
public IVHost getVHost()
public void notifySessionCreate(IApplicationInstance appInstance,
RTPSession rtpSession)
appInstance - application instancertpSession - RTP sessionpublic void notifySessionCreate(RTPSession rtpSession)
rtpSession - RTP session
public void notifySessionDestroy(IApplicationInstance appInstance,
RTPSession rtpSession)
appInstance - application instancertpSession - RTP sessionpublic void notifySessionDestroy(RTPSession rtpSession)
rtpSession - RTP sessionpublic void releaseSessionId(String sessionIdStr)
sessionIdStr - RTP session idpublic RTPSession removeSession(RTPSession session)
session - RTP session
public RTPSession removeSession(String sessionId)
sessionId - session id
public void removeSessionListener(IRTPSessionNotify listener)
listener - RTP session listener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||