public interface SipSessionListener extends EventListener
SipSessions
in a SIP servlet application. To
recieve notification events, the implementation class must be configured
in the deployment descriptor for the SIP application.Modifier and Type | Method and Description |
---|---|
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. |
void sessionCreated(SipSessionEvent se)
SipSession
was created.se
- the notification eventvoid sessionDestroyed(SipSessionEvent se)
SipSession
was destroyed.se
- the notification eventvoid sessionReadyToInvalidate(SipSessionEvent se)
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)
se
- the notification eventSipSession.isReadyToInvalidate()
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.