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

Notification that a SipApplicationSession has expired.

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).

See Also:
Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SipApplicationSessionEvent(SipApplicationSession appSession)
          Creates a new SipApplicationSessionEvent object.
 
Method Summary
 SipApplicationSession getApplicationSession()
          Returns the expired session object.
 
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
 

Constructor Detail

SipApplicationSessionEvent

public SipApplicationSessionEvent(SipApplicationSession appSession)
Creates a new SipApplicationSessionEvent object.
Parameters:
appSession - the expired application session
Method Detail

getApplicationSession

public SipApplicationSession getApplicationSession()
Returns the expired session object.
Returns:
the expired session object


SIP Servlet API 1.0