|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DistributableSipManager
Interface that should be implemented by all manager allowing applications to work in a distributed environment.
| Method Summary | |
|---|---|
MobicentsSipApplicationSession |
getSipApplicationSession(SipApplicationSessionKey key,
boolean create,
boolean localOnly)
Retrieve a sip application session from its key. |
MobicentsSipSession |
getSipSession(SipSessionKey key,
boolean create,
SipFactoryImpl sipFactoryImpl,
MobicentsSipApplicationSession MobicentsSipApplicationSession,
boolean localOnly)
Retrieve a sip session from its key. |
| Methods inherited from interface org.apache.catalina.Manager |
|---|
add, addPropertyChangeListener, backgroundProcess, changeSessionId, createEmptySession, createSession, findSession, findSessions, getActiveSessions, getContainer, getDistributable, getExpiredSessions, getInfo, getMaxActive, getMaxInactiveInterval, getRejectedSessions, getSessionAverageAliveTime, getSessionCounter, getSessionCreateRate, getSessionExpireRate, getSessionIdLength, getSessionMaxAliveTime, load, remove, remove, removePropertyChangeListener, setContainer, setDistributable, setExpiredSessions, setMaxActive, setMaxInactiveInterval, setSessionCounter, setSessionIdLength, setSessionMaxAliveTime, unload |
| Method Detail |
|---|
MobicentsSipApplicationSession getSipApplicationSession(SipApplicationSessionKey key,
boolean create,
boolean localOnly)
key - the key identifying the sip application session to retrievecreate - if set to true, if no session has been found one will be createdlocalOnly - if true check only locally and not in the cache, if false check in the cache as well
MobicentsSipSession getSipSession(SipSessionKey key,
boolean create,
SipFactoryImpl sipFactoryImpl,
MobicentsSipApplicationSession MobicentsSipApplicationSession,
boolean localOnly)
key - the key identifying the sip session to retrievecreate - if set to true, if no session has been found one will be createdsipFactoryImpl - needed only for sip session creation.MobicentsSipApplicationSession - to associate the SipSession with if create is set to true, if false it won't be usedlocalOnly - if true check only locally and not in the cache, if false check in the cache as well
java.lang.IllegalArgumentException - if create is set to true and sip Factory is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||