AttributeStoreBindingEvent
Events of this type are either sent to an object that implements
SipSessionBindingListener
when it is bound or unbound from a
session, or to a SipSessionAttributeListener
that has been
configured in the deployment descriptor when any attribute is bound,
unbound or replaced in a session.
The session binds the object by a call to
SipSession.setAttribute
and unbinds the object by a call
to SipSession.removeAttribute
.
@Deprecated public class SipSessionBindingEvent extends EventObject
source
Constructor and Description |
---|
SipSessionBindingEvent(SipSession session,
String name)
Deprecated.
Constructs an event that notifies an object that it has been bound
to or unbound from a session.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Deprecated.
Returns the name with which the object is bound to or unbound from
the session.
|
SipSession |
getSession()
Deprecated.
Returns the session to or from which the object is bound or unbound.
|
getSource, toString
public SipSessionBindingEvent(SipSession session, String name)
SipSessionBindingListener
.session
- the session to which the object is bound or unboundname
- the name with which the object is bound or unboundpublic String getName()
public SipSession getSession()
Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.