org.mobicents.servlet.sip.core.session
Interface MobicentsSipApplicationSession

All Superinterfaces:
SipApplicationSession, SipApplicationSessionExt
All Known Implementing Classes:
MobicentsSipApplicationSessionFacade, SipApplicationSessionImpl

public interface MobicentsSipApplicationSession
extends SipApplicationSession, SipApplicationSessionExt

Author:
Jean Deruelle

Nested Class Summary
 
Nested classes/interfaces inherited from interface javax.servlet.sip.SipApplicationSession
SipApplicationSession.Protocol
 
Field Summary
static java.lang.String SIP_APPLICATION_KEY_PARAM_NAME
           
 
Method Summary
 void access()
           
 void acquire()
           
 boolean addHttpSession(javax.servlet.http.HttpSession httpSession)
           
 void addServletTimer(ServletTimer servletTimer)
           
 boolean addSipSession(MobicentsSipSession mobicentsSipSession)
           
 javax.servlet.http.HttpSession findHttpSession(java.lang.String sessionId)
           
 java.lang.String getCurrentRequestHandler()
           
 long getExpirationTimeInternal()
           
 SipApplicationSessionTimerTask getExpirationTimerTask()
           
 java.lang.String getJvmRoute()
           
 SipApplicationSessionKey getKey()
           
 MobicentsSipApplicationSessionFacade getSession()
           
 long getSipApplicationSessionTimeout()
           
 SipContext getSipContext()
           
 java.util.Set<MobicentsSipSession> getSipSessions()
           
 boolean hasTimerListener()
           
 void invalidate(boolean bypassCheck)
           
 boolean isExpired()
           
 boolean isValidInternal()
           
 void notifySipApplicationSessionListeners(SipApplicationSessionEventType expiration)
           
 void onSipSessionReadyToInvalidate(MobicentsSipSession mobicentsSipSession)
           
 void release()
           
 boolean removeHttpSession(javax.servlet.http.HttpSession httpSession)
           
 void removeServletTimer(ServletTimer servletTimer, boolean updateAppSessionReadyToInvalidateState)
           
 void setCurrentRequestHandler(java.lang.String currentRequestHandler)
           
 void setExpirationTimerTask(SipApplicationSessionTimerTask expirationTimerTask)
           
 void setExpired(boolean hasExpired)
           
 void setJvmRoute(java.lang.String jvmRoute)
           
 void tryToInvalidate()
           
 
Methods inherited from interface javax.servlet.sip.SipApplicationSession
encodeURI, encodeURL, getApplicationName, getAttribute, getAttributeNames, getCreationTime, getExpirationTime, getId, getInvalidateWhenReady, getLastAccessedTime, getSession, getSessions, getSessions, getSipSession, getTimer, getTimers, invalidate, isReadyToInvalidate, isValid, removeAttribute, setAttribute, setExpires, setInvalidateWhenReady
 
Methods inherited from interface org.mobicents.javax.servlet.sip.SipApplicationSessionExt
scheduleAsynchronousWork
 

Field Detail

SIP_APPLICATION_KEY_PARAM_NAME

static final java.lang.String SIP_APPLICATION_KEY_PARAM_NAME
See Also:
Constant Field Values
Method Detail

addHttpSession

boolean addHttpSession(javax.servlet.http.HttpSession httpSession)

removeHttpSession

boolean removeHttpSession(javax.servlet.http.HttpSession httpSession)

findHttpSession

javax.servlet.http.HttpSession findHttpSession(java.lang.String sessionId)

getSipContext

SipContext getSipContext()

onSipSessionReadyToInvalidate

void onSipSessionReadyToInvalidate(MobicentsSipSession mobicentsSipSession)

addSipSession

boolean addSipSession(MobicentsSipSession mobicentsSipSession)

getKey

SipApplicationSessionKey getKey()

access

void access()

hasTimerListener

boolean hasTimerListener()

addServletTimer

void addServletTimer(ServletTimer servletTimer)

removeServletTimer

void removeServletTimer(ServletTimer servletTimer,
                        boolean updateAppSessionReadyToInvalidateState)

notifySipApplicationSessionListeners

void notifySipApplicationSessionListeners(SipApplicationSessionEventType expiration)

isExpired

boolean isExpired()

setExpired

void setExpired(boolean hasExpired)

getExpirationTimeInternal

long getExpirationTimeInternal()

isValidInternal

boolean isValidInternal()

getCurrentRequestHandler

java.lang.String getCurrentRequestHandler()

setCurrentRequestHandler

void setCurrentRequestHandler(java.lang.String currentRequestHandler)

tryToInvalidate

void tryToInvalidate()

acquire

void acquire()

release

void release()

getSession

MobicentsSipApplicationSessionFacade getSession()

getJvmRoute

java.lang.String getJvmRoute()

setJvmRoute

void setJvmRoute(java.lang.String jvmRoute)

setExpirationTimerTask

void setExpirationTimerTask(SipApplicationSessionTimerTask expirationTimerTask)

getExpirationTimerTask

SipApplicationSessionTimerTask getExpirationTimerTask()

getSipApplicationSessionTimeout

long getSipApplicationSessionTimeout()

getSipSessions

java.util.Set<MobicentsSipSession> getSipSessions()

invalidate

void invalidate(boolean bypassCheck)


Copyright © 2011. All Rights Reserved.