javax.servlet.sip
Class SipApplicationSessionEvent
java.lang.Object
java.util.EventObject
javax.servlet.sip.SipApplicationSessionEvent
- All Implemented Interfaces:
- java.io.Serializable
public class SipApplicationSessionEvent
- extends java.util.EventObject
This is the class representing event notifications for changes to
SipApplicationSession
s within a SIP servlet application.
A SipApplicationSessionListener
receiving this notification
may attempt to extend the lifetime of the application instance
corresponding to the expiring application session by invoking
SipApplicationSession.setExpires(int)
.
- Since:
- 1.1
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SipApplicationSessionEvent
public SipApplicationSessionEvent(SipApplicationSession appSession)
- Creates a new
SipApplicationSessionEvent
object.
- Parameters:
appSession
- the expired application session
getApplicationSession
public SipApplicationSession getApplicationSession()
- Returns the expired session object.
- Returns:
- the expired session object