|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.echarts.servlet.sip.TransitionTimerManager
public class TransitionTimerManager
This class provides a way for ECharts to manage timers in a SIP Servlet environment. ECharts calls activateTransition() and deactivateTransition(), and this class uses the TimerService mechanism defined in the Sip Servlet API to handle the required timing tasks.
Constructor Summary | |
---|---|
TransitionTimerManager()
|
Method Summary | |
---|---|
void |
activateTransition(TransitionTimerPort port)
If port not currently activated then activate it, otherwise ignore the port. |
void |
deactivateTransition(TransitionTimerPort port)
Deactivate transition with specified port if port currently activated. |
void |
reactivateTransition(TransitionTimerPort port)
If port currently activated then deactivate it, and then activate it. |
void |
timeout(ServletTimer timer)
Called by container when the timeout expires (TimerListener interface) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TransitionTimerManager()
Method Detail |
---|
public void activateTransition(TransitionTimerPort port) throws java.lang.Exception
activateTransition
in interface TransitionTimerManager
java.lang.Exception
public void reactivateTransition(TransitionTimerPort port) throws java.lang.Exception
reactivateTransition
in interface TransitionTimerManager
java.lang.Exception
public final void deactivateTransition(TransitionTimerPort port)
deactivateTransition
in interface TransitionTimerManager
public void timeout(ServletTimer timer)
timeout
in interface TimerListener
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |