Package | Description |
---|---|
javax.servlet.sip |
The javax.servlet.sip package is the API for the SIP Servlets developed under JSR 359, this v2.0 version updates v1.1 developed under JSR 289.
|
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 © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.