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.
valueUnbound
void valueUnbound(SipSessionBindingEvent event)
This method is called to notify the object that it is being unbound from a SipSession. It allows the object to perform cleanup or other necessary actions upon being disassociated from the session.
Parameters:
event: A SipSessionBindingEvent object identifying the session from which the object is being unbound.
Start innovating with Mobius
What's next? Let's talk!