javax.servlet.sip
Class SipApplicationSessionEvent

java.lang.Object
  extended by java.util.EventObject
      extended by 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 SipApplicationSessions 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

Field Summary
 
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