org.mobicents.servlet.sip.notification
Class SipSessionActivationEvent
java.lang.Object
java.util.EventObject
javax.servlet.sip.SipSessionEvent
org.mobicents.servlet.sip.notification.SipSessionActivationEvent
- All Implemented Interfaces:
- Serializable
public class SipSessionActivationEvent
- extends SipSessionEvent
Events of this type are sent to an object that implements SipSessionActivationListener. since the specification doesn't differentiate between different causes for activation/passivation such as failover, replication, passivation because of non activity this class is added to provide the application for the root cause of the notification allowing finer grained control
- Since:
- 1.6
- Author:
- jean.deruelle@gmail.com
- See Also:
- Serialized Form
SipSessionActivationEvent
public SipSessionActivationEvent(SipSession session,
SessionActivationNotificationCause cause)
- Constructs an event that notifies an object that it has been activated/passivated for a session. To receive the event, the object must implement SipSessionActivationListener
- Parameters:
session - the session for which the notification is generatedcause - the root cause on why the notification has been generated (failover, replication, ...)
getCause
public SessionActivationNotificationCause getCause()
- Returns the cause on why the listener is called for the application session.
Copyright © 2011. All Rights Reserved.