Interface SipSessionStateListener

All Superinterfaces:
EventListener

public interface SipSessionStateListener extends EventListener
Deprecated.
SIP Servlet 1.1 introduced standard API SipSessionActivationListener
This listener will receive notification on session passivation and activation events. A container that migrates session between VMs or persists sessions must notify this listener. Normally, when migrating the session to a different container on another VM, the sessionWillPassivate will be called on the source container, and when the session is activated on the target container, sessionDidActivate will be called there. Users of this listener must bear in mind that on case of a server unexpected shutdown or connectivity failure, the failover mechanism will activate the session on another container in the cluster and sessionDidActivate will be called, but sessionWillPassivate might not be called on the failed server.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    sessionDidActivate(javax.servlet.sip.SipSessionEvent se)
    Deprecated.
    Notification that the session has just been activated.
    void
    sessionWillPassivate(javax.servlet.sip.SipSessionEvent se)
    Deprecated.
    Notification that the session is about to be passivated.
  • Method Details

    • sessionWillPassivate

      void sessionWillPassivate(javax.servlet.sip.SipSessionEvent se)
      Deprecated.
      Notification that the session is about to be passivated.
      Parameters:
      se - event identifying the session about to be persisted
    • sessionDidActivate

      void sessionDidActivate(javax.servlet.sip.SipSessionEvent se)
      Deprecated.
      Notification that the session has just been activated.
      Parameters:
      se - event identifying the activated session