org.mobicents.servlet.sip.core.timers
Class TimerServiceImpl

java.lang.Object
  extended by org.mobicents.servlet.sip.core.timers.TimerServiceImpl
All Implemented Interfaces:
java.io.Serializable, TimerService, SipServletTimerService

public class TimerServiceImpl
extends java.lang.Object
implements SipServletTimerService

See Also:
Serialized Form

Field Summary
static int SCHEDULER_THREAD_POOL_DEFAULT_SIZE
           
 
Constructor Summary
TimerServiceImpl()
           
 
Method Summary
 ServletTimer createTimer(SipApplicationSession appSession, long delay, boolean isPersistent, java.io.Serializable info)
           
 ServletTimer createTimer(SipApplicationSession appSession, long delay, long period, boolean fixedDelay, boolean isPersistent, java.io.Serializable info)
           
 boolean isStarted()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SCHEDULER_THREAD_POOL_DEFAULT_SIZE

public static final int SCHEDULER_THREAD_POOL_DEFAULT_SIZE
See Also:
Constant Field Values
Constructor Detail

TimerServiceImpl

public TimerServiceImpl()
Method Detail

createTimer

public ServletTimer createTimer(SipApplicationSession appSession,
                                long delay,
                                boolean isPersistent,
                                java.io.Serializable info)
Specified by:
createTimer in interface TimerService

createTimer

public ServletTimer createTimer(SipApplicationSession appSession,
                                long delay,
                                long period,
                                boolean fixedDelay,
                                boolean isPersistent,
                                java.io.Serializable info)
Specified by:
createTimer in interface TimerService

stop

public void stop()
Specified by:
stop in interface SipServletTimerService

start

public void start()
Specified by:
start in interface SipServletTimerService

isStarted

public boolean isStarted()
Specified by:
isStarted in interface SipServletTimerService


Copyright © 2011. All Rights Reserved.