org.mobicents.servlet.sip.core.timers
Interface SipApplicationSessionTimerTask

All Superinterfaces:
java.lang.Runnable
All Known Implementing Classes:
DefaultSasTimerTask, StandardSasTimerTask

public interface SipApplicationSessionTimerTask
extends java.lang.Runnable

Base interface for the sip application session expiration timer task responsible to expire the session

Author:
jean.deruelle@gmail.com

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
 
Methods inherited from interface java.lang.Runnable
run
 

Method Detail

getSipApplicationSession

MobicentsSipApplicationSession getSipApplicationSession()
Retrieve the sip application Session associated with the timer task

Returns:
the sip application session

getDelay

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

Returns:


Copyright © 2010. All Rights Reserved.