Skip navigation links


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

Skip navigation links

Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Java SIP Servlet API 1.1 Reference

Part Number E17883-01