javax.servlet.sip
Interface SipSessionListener

All Superinterfaces:
java.util.EventListener

public interface SipSessionListener
extends java.util.EventListener

Implementations of this interface are notified of changes to the list of active SipSessions in a SIP servlet application. To recieve notification events, the implementation class must be configured in the deployment descriptor for the SIP application.


Method Summary
 void sessionCreated(SipSessionEvent se)
          Notification that a SipSession was created.
 void sessionDestroyed(SipSessionEvent se)
          Notification that a SipSession was destroyed.
 void sessionReadyToInvalidate(SipSessionEvent se)
          Notification that a SipSession is in the ready-to-invalidate state.
 

Method Detail

sessionCreated

void sessionCreated(SipSessionEvent se)
Notification that a SipSession was created.

Parameters:
se - the notification event

sessionDestroyed

void sessionDestroyed(SipSessionEvent se)
Notification that a SipSession was destroyed.

Parameters:
se - the notification event

sessionReadyToInvalidate

void sessionReadyToInvalidate(SipSessionEvent se)
Notification that a SipSession is in the ready-to-invalidate state. The container will invalidate this session upon completion of this callback unless the listener implementation calls SipSessionEvent.getSession().setInvalidateWhenReady(false)

Parameters:
se - the notification event
Since:
1.1
See Also:
SipSession.isReadyToInvalidate()