javax.servlet.sip
Interface SipApplicationSessionListener

All Superinterfaces:
java.util.EventListener

public interface SipApplicationSessionListener
extends java.util.EventListener

Implementations of this interface recieve notifications about invalidated SipApplicationSession objects in the SIP application they are part of. To recieve notification events, the implementation class must be configured in the deployment descriptor for the servlet application.


Method Summary
 void sessionCreated(SipApplicationSessionEvent ev)
          Notification that a session was created.
 void sessionDestroyed(SipApplicationSessionEvent ev)
          Notification that a session was invalidated.
 void sessionExpired(SipApplicationSessionEvent ev)
          Notification that an application session has expired.
 

Method Detail

sessionCreated

public void sessionCreated(SipApplicationSessionEvent ev)
Notification that a session was created.
Parameters:
ev - the notification event

sessionDestroyed

public void sessionDestroyed(SipApplicationSessionEvent ev)
Notification that a session was invalidated. Either it timed out or it was explicitly invalidated. It is not possible to extend the application sessions lifetime.
Parameters:
ev - the notification event

sessionExpired

public void sessionExpired(SipApplicationSessionEvent ev)
Notification that an application session has expired. The application may request an extension of the lifetime of the application session by invoking SipApplicationSession.setExpires(int).
Parameters:
ev - the notification event


SIP Servlet API 1.0