| Modifier and Type | Field and Description |
|---|---|
protected SipStackImpl |
sipStackImpl |
| Constructor and Description |
|---|
ScheduledExecutorSipTimer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
cancel(SIPStackTimerTask task)
cancel a previously scheduled task
|
boolean |
isStarted()
Check if the timer is started or stopped
|
boolean |
schedule(SIPStackTimerTask task,
long delay)
Schedule a new SIPStackTimerTask after the specified delay
|
boolean |
scheduleWithFixedDelay(SIPStackTimerTask task,
long delay,
long period)
Schedule a new SIPStackTimerTask after the specified delay
|
void |
start(SipStackImpl sipStack,
Properties configurationProperties)
Start the SIP Timer, called when the stack is created.
|
void |
stop()
Stop the Timer (called when the stack is stop or reinitialized)
|
protected SipStackImpl sipStackImpl
public void stop()
SipTimerpublic boolean schedule(SIPStackTimerTask task, long delay)
SipTimerpublic boolean scheduleWithFixedDelay(SIPStackTimerTask task, long delay, long period)
SipTimerscheduleWithFixedDelay in interface SipTimertask - the task to scheduledelay - the delay in milliseconds to schedule the taskperiod - the period to run the task after it has been first scheduledpublic void start(SipStackImpl sipStack, Properties configurationProperties)
SipTimerpublic boolean cancel(SIPStackTimerTask task)
SipTimerCopyright © 2018. All Rights Reserved.