javax.servlet.sip
Class SipApplicationSessionBindingEvent
java.lang.Object
java.util.EventObject
javax.servlet.sip.SipApplicationSessionBindingEvent
- All Implemented Interfaces:
- java.io.Serializable
public class SipApplicationSessionBindingEvent
- extends java.util.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
| Fields inherited from class java.util.EventObject |
source |
|
Method Summary |
SipApplicationSession |
getApplicationSession()
Returns the application session to or from which the object is bound or unbound. |
java.lang.String |
getName()
Returns the name with which the object is bound to or unbound from the application session. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SipApplicationSessionBindingEvent
public SipApplicationSessionBindingEvent(SipApplicationSession session,
java.lang.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 java.lang.String getName()
- Returns the name with which the object is bound to or unbound from the application session.
Copyright © 2011. All Rights Reserved.