javax.servlet.sip
Interface SipSessionListener

All Superinterfaces:
EventListener

public interface SipSessionListener
extends 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.


sessionDestroyed

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


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


Copyright © 2012. All Rights Reserved.