| Package | Description |
|---|---|
| javax.servlet.sip |
| Modifier and Type | Method and Description |
|---|---|
ServletTimer |
TimerService.createTimer(SipApplicationSession appSession,
long delay,
boolean isPersistent,
Serializable info)
Creates a one-time ServletTimer and schedules it to expire after the specified delay.
|
ServletTimer |
TimerService.createTimer(SipApplicationSession appSession,
long delay,
long period,
boolean fixedDelay,
boolean isPersistent,
Serializable info)
Creates a repeating ServletTimer and schedules it to expire after the specified delay and then again at approximately regular intervals.
|
ServletTimer |
SipApplicationSession.getTimer(String id)
Returns the active timer identified by a specific id that is associated with this application session.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ServletTimer> |
SipApplicationSession.getTimers()
Returns all active timers associated with this application session.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TimerListener.timeout(ServletTimer timer)
Notifies the listener that the specified timer has expired.
|
Copyright © 2016. All rights reserved.