SipSessionBindingListener
The SipSessionBindingListener interface allows objects to receive notifications when they are bound to or unbound from a SipSession. Notifications are delivered through SipSessionBindingEvent objects, which provide context about the binding or unbinding event.
Objects that implement this interface are notified when:
- When explicitly bound to or unbound from a SipSession by a servlet programmer using methods like SipSession.setAttribute(String, Object) or SipSession.removeAttribute(String).
- When the SipSession is invalidated.
- When the SipSession times out.
Methods:
valueBound
void valueBound(SipSessionBindingEvent event)
This method is called to notify the object that it is being bound to a SipSession. It allows the object to perform initialization or other actions upon being associated with the session.
Parameters:
event: A SipSessionBindingEvent object identifying the session to which the object is being bound.
Sign in to read the full article
Start innovating with Mobius
What's next? Let's talk!