org.mobicents.servlet.sip.notification
Class SipApplicationSessionActivationEvent
java.lang.Object
java.util.EventObject
javax.servlet.sip.SipApplicationSessionEvent
org.mobicents.servlet.sip.notification.SipApplicationSessionActivationEvent
- All Implemented Interfaces:
- Serializable
public class SipApplicationSessionActivationEvent
- extends SipApplicationSessionEvent
Events of this type are sent to an object that implements SipApplicationSessionActivationListener. 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
- Author:
- jean.deruelle@gmail.com
- See Also:
- Serialized Form
SipApplicationSessionActivationEvent
public SipApplicationSessionActivationEvent(SipApplicationSession 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 SipApplicationSessionActivationListener
.
- 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.