Skip navigation links
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)
.
- Since:
- 1.1
- 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 unbound
name
- the name with 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.
-
- Returns:
- a string specifying the name with which the object is bound to or unbound from the session
getApplicationSession
public SipApplicationSession getApplicationSession()
- Returns the application session to or from which the object is bound or unbound.
-
- Returns:
- the application session to which the object is bound or from which the object is unbound
Skip navigation links
Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.
Java SIP Servlet API 1.1 Reference
Part Number E17883-01