|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SipApplicationSessionListener
Implementations of this interface can receive notifications about invalidated and/or activated SipApplicationSession
objects in the SIP application they are part of. To receive 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. |
void |
sessionReadyToInvalidate(SipApplicationSessionEvent ev) Notification that a SipApplicationSession is in the ready-to-invalidate state. |
Method Detail |
---|
void sessionCreated(SipApplicationSessionEvent ev)
ev
- the notification eventvoid sessionDestroyed(SipApplicationSessionEvent ev)
ev
- the notification eventvoid sessionExpired(SipApplicationSessionEvent ev)
SipApplicationSession.setExpires(int)
.ev
- the notification eventvoid sessionReadyToInvalidate(SipApplicationSessionEvent ev)
SipApplicationSession
is in the ready-to-invalidate state. The container will invalidate this session upon completion of this callback unless the listener implementation calls SipApplicationSessionEvent.getApplicationSession().setInvalidateWhenReady(false)
ev
- the notification eventSipApplicationSession.isReadyToInvalidate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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