public class SipSessionsUtilImpl extends Object implements MobicentsSipSessionsUtil, Serializable
| Constructor and Description |
|---|
SipSessionsUtilImpl(SipContext sipContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCorrespondingSipApplicationSession(MobicentsSipApplicationSessionKey newApplicationSession,
MobicentsSipApplicationSessionKey correspondingSipApplicationSession,
String headerName)
Add a mapping between a new session and a corresponding sipSession related to a headerName.
|
void |
addCorrespondingSipSession(MobicentsSipSession newSession,
MobicentsSipSession correspondingSipSession,
String headerName)
Add a mapping between a new session and a corresponding sipSession related to a headerName.
|
SipApplicationSession |
getApplicationSessionById(String applicationSessionId) |
SipApplicationSession |
getApplicationSessionById(String applicationSessionId,
boolean isContainerManaged) |
SipApplicationSession |
getApplicationSessionByKey(String applicationSessionKey,
boolean create) |
SipApplicationSession |
getApplicationSessionByKey(String applicationSessionKey,
boolean create,
boolean isContainerManaged) |
MobicentsSipApplicationSessionKey |
getCorrespondingSipApplicationSession(MobicentsSipApplicationSessionKey sipApplicationSessionKey,
String headerName) |
SipSession |
getCorrespondingSipSession(SipSession sipSession,
String headerName) |
void |
removeCorrespondingSipApplicationSession(MobicentsSipApplicationSessionKey sipApplicationSession)
Add a mapping between a corresponding sipSession related to a headerName.
|
void |
removeCorrespondingSipSession(MobicentsSipSessionKey sipSession)
Add a mapping between a corresponding sipSession related to a headerName.
|
void |
scheduleAsynchronousWork(String sipApplicationSessionId,
SipApplicationSessionAsynchronousWork work) |
void |
scheduleAsynchronousWork(String sipSessionId,
SipSessionAsynchronousWork work) |
public SipSessionsUtilImpl(SipContext sipContext)
public SipApplicationSession getApplicationSessionById(String applicationSessionId)
getApplicationSessionById in interface SipSessionsUtilpublic SipApplicationSession getApplicationSessionById(String applicationSessionId, boolean isContainerManaged)
getApplicationSessionById in interface SipSessionsUtilExtpublic SipApplicationSession getApplicationSessionByKey(String applicationSessionKey, boolean create)
getApplicationSessionByKey in interface SipSessionsUtilpublic SipApplicationSession getApplicationSessionByKey(String applicationSessionKey, boolean create, boolean isContainerManaged)
getApplicationSessionByKey in interface SipSessionsUtilExtpublic SipSession getCorrespondingSipSession(SipSession sipSession, String headerName)
getCorrespondingSipSession in interface SipSessionsUtilpublic void addCorrespondingSipSession(MobicentsSipSession newSession, MobicentsSipSession correspondingSipSession, String headerName)
addCorrespondingSipSession in interface MobicentsSipSessionsUtilnewSession - the new sessioncorrespondingSipSession - the corresponding sip session to addheaderName - the header namepublic void removeCorrespondingSipSession(MobicentsSipSessionKey sipSession)
removeCorrespondingSipSession in interface MobicentsSipSessionsUtilcorrespondingSipSession - the corresponding sip session to addheaderName - the header namepublic MobicentsSipApplicationSessionKey getCorrespondingSipApplicationSession(MobicentsSipApplicationSessionKey sipApplicationSessionKey, String headerName)
getCorrespondingSipApplicationSession in interface MobicentsSipSessionsUtilpublic void addCorrespondingSipApplicationSession(MobicentsSipApplicationSessionKey newApplicationSession, MobicentsSipApplicationSessionKey correspondingSipApplicationSession, String headerName)
addCorrespondingSipApplicationSession in interface MobicentsSipSessionsUtilnewSession - the new sessioncorrespondingSipSession - the corresponding sip session to addheaderName - the header namepublic void removeCorrespondingSipApplicationSession(MobicentsSipApplicationSessionKey sipApplicationSession)
removeCorrespondingSipApplicationSession in interface MobicentsSipSessionsUtilcorrespondingSipSession - the corresponding sip session to addheaderName - the header namepublic void scheduleAsynchronousWork(String sipSessionId, SipSessionAsynchronousWork work)
scheduleAsynchronousWork in interface SipSessionsUtilExtpublic void scheduleAsynchronousWork(String sipApplicationSessionId, SipApplicationSessionAsynchronousWork work)
scheduleAsynchronousWork in interface SipSessionsUtilExtCopyright © 2014. All Rights Reserved.