|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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 TransitionTimerManagerjava.lang.Exception
public void reactivateTransition(TransitionTimerPort port)
throws java.lang.Exception
reactivateTransition in interface TransitionTimerManagerjava.lang.Exceptionpublic final void deactivateTransition(TransitionTimerPort port)
deactivateTransition in interface TransitionTimerManagerpublic void timeout(ServletTimer timer)
timeout in interface TimerListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||