|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.TimerTask
org.mobicents.servlet.sip.core.timers.StandardSasTimerTask
public class StandardSasTimerTask
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 | |
|---|---|
StandardSasTimerTask(MobicentsSipApplicationSession mobicentsSipApplicationSession)
|
|
| Method Summary | |
|---|---|
boolean |
cancel()
|
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)
Set the sip application Session associated with the timer task |
| Methods inherited from class java.util.TimerTask |
|---|
scheduledExecutionTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StandardSasTimerTask(MobicentsSipApplicationSession mobicentsSipApplicationSession)
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.util.TimerTaskpublic boolean cancel()
cancel in class java.util.TimerTaskpublic long getDelay()
SipApplicationSessionTimerTask
getDelay in interface SipApplicationSessionTimerTaskpublic void setSipApplicationSession(MobicentsSipApplicationSession sipApplicationSession)
SipApplicationSessionTimerTask
setSipApplicationSession in interface SipApplicationSessionTimerTasksipApplicationSession - 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 | |||||||||