Version

SipSessionBindingEvent

The SipSessionBindingEvent class represents events related to the binding or unbinding of attributes within a SipSession. It extends java.util.EventObject and implements java.io.Serializable, making it suitable for distributed environments. These events are triggered when an object is bound to or unbound from a session using the SipSession.setAttribute(String, Object) or SipSession.removeAttribute(String) methods. The events are sent to objects that implement the SipSessionBindingListener interface or to SipSessionAttributeListener implementations configured in the deployment descriptor, which respond to any attribute being added, removed, or replaced in a session. This class allows applications to monitor and handle attribute-level changes within SipSession instances.

Fields:

Fields inherited from class java.util.EventObject:
source.

Constructor:

SipSessionBindingEvent
public SipSessionBindingEvent(SipSession session,
                              java.lang.String name)

This constructor creates a SipSessionBindingEvent object to notify an object when it is bound to or unbound from a SipSession. Objects must implement the SipSessionBindingListener interface to receive this event.
Parameters:
session: The SipSession to which the object is being bound or from which it is being unbound.
name: The name under which the object is bound or unbound in the session.

Methods:

getName
public java.lang.String getName()
Retrieves the name under which the object is bound to or unbound from the SipSession. This name identifies the specific attribute affected by the event.
Returns:
A String specifying the name used to bind or unbind the object in the session.

getSession
public SipSession getSession()
Retrieves the SipSession to or from which the object is bound or unbound. This allows listeners to access the session associated with the event.
Returns:
The SipSession object to which the object is bound or from which it is unbound.

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.

Start innovating with Mobius

What's next? Let's talk!

Mobius Software

As a company you'll get:

  • Get started quickly

  • Support any business model

  • Join millions of businesses

Questions? websupport@mobius.com