AttributeStoreBindingEvent
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
AttributeStore.setAttribute(String, Object)
and unbinds the object by a call
to AttributeStore.removeAttribute(String)
.
@Deprecated public class SipApplicationSessionBindingEvent extends EventObject
source
Constructor and Description |
---|
SipApplicationSessionBindingEvent(SipApplicationSession session,
String name)
Deprecated.
Constructs an event that notifies an object that it has been bound
to or unbound from an application session.
|
Modifier and Type | Method and Description |
---|---|
SipApplicationSession |
getApplicationSession()
Deprecated.
Returns the application session to or from which the object is bound or unbound.
|
String |
getName()
Deprecated.
Returns the name with which the object is bound to or unbound from
the application session.
|
getSource, toString
public SipApplicationSessionBindingEvent(SipApplicationSession session, String name)
SipApplicationSessionBindingListener
.session
- the application ession to which the object is bound or unboundname
- the name with which the object is bound or unboundpublic String getName()
public SipApplicationSession getApplicationSession()
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.