javax.servlet.sip
Class SipApplicationSessionBindingEvent
java.lang.Object
java.util.EventObject
javax.servlet.sip.SipApplicationSessionBindingEvent
- All Implemented Interfaces:
- Serializable
public class SipApplicationSessionBindingEvent
- extends EventObject
Events of this type are either sent to an object that implements SipApplicationSessionBindingListener when it is bound or unbound from an application session, or to a SipApplicationSessionAttributeListener that has been configured in the deployment descriptor when any attribute is bound, unbound or replaced in an application session.
The session binds the object by a call to SipApplicationSession.setAttribute(String, Object) and unbinds the object by a call to SipApplicationSession.removeAttribute(String).
- See Also:
SipApplicationSession, SipApplicationSessionBindingListener, SipApplicationSessionAttributeListener,
Serialized Form
SipApplicationSessionBindingEvent
public SipApplicationSessionBindingEvent(SipApplicationSession session,
String name)
- Constructs an event that notifies an object that it has been bound to or unbound from an application session.
To receive the event, the object must implement SipApplicationSessionBindingListener.
- Parameters:
session - - the application ession to which the object is bound or unboundname - the name with which the object is bound or unbound
getApplicationSession
public SipApplicationSession getApplicationSession()
- Returns the application session to or from which the object is bound or unbound.
getName
public String getName()
- Returns the name with which the object is bound to or unbound from the application session.
Copyright © 2012. All Rights Reserved.