|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.servlet.sip.core.timers.DefaultSasTimerTask
public class DefaultSasTimerTask
Timer task that will notify the listeners that the sip application session has expired It is an improved timer task that is delayed every time setLastAccessedTime is called on it. It is delayed of lastAccessedTime + lifetime
| Constructor Summary | |
|---|---|
DefaultSasTimerTask(MobicentsSipApplicationSession mobicentsSipApplicationSession)
|
|
| Method Summary | |
|---|---|
long |
getDelay()
Returns the delay in milliseconds before the session is due to expire or a negative value if it has already passed the time it should have expired |
MobicentsSipApplicationSession |
getSipApplicationSession()
Retrieve the sip application Session associated with the timer task |
void |
run()
|
void |
setSipApplicationSession(MobicentsSipApplicationSession sipApplicationSession)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultSasTimerTask(MobicentsSipApplicationSession mobicentsSipApplicationSession)
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablepublic long getDelay()
SipApplicationSessionTimerTask
getDelay in interface SipApplicationSessionTimerTaskpublic void setSipApplicationSession(MobicentsSipApplicationSession sipApplicationSession)
sipApplicationSession - the sipApplicationSession to setpublic MobicentsSipApplicationSession getSipApplicationSession()
SipApplicationSessionTimerTask
getSipApplicationSession in interface SipApplicationSessionTimerTask
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||