SipApplicationSessionBindingListener
The SipApplicationSessionBindingListener interface allows an object to receive notifications when it is bound to or unbound from a SipApplicationSession. Notifications are delivered as SipApplicationSessionBindingEvent objects, providing context about the binding or unbinding event.
This can occur in the following cases:
- A servlet programmer explicitly binds or unbinds an attribute to/from a SipApplicationSession.
- An application session is invalidated.
- An application session times out.
Implementing this interface enables objects to handle lifecycle events related to their association with a SipApplicationSession, such as performing cleanup on unbinding or initializing resources on binding.
Methods:
valueBound
void valueBound(SipApplicationSessionBindingEvent event)
This method is called when the object is being bound to a SipApplicationSession. It allows the object to perform any necessary initialization or actions upon being associated with the session.
Parameters:
event: A SipApplicationSessionBindingEvent object that identifies the SipApplicationSession to which the object is being bound.
valueUnbound
void valueUnbound(SipApplicationSessionBindingEvent event)
This method is called when the object is being unbound from a SipApplicationSession. It allows the object to perform cleanup or other necessary actions upon disassociation from the session.
Parameters:
event: A SipApplicationSessionBindingEvent object that identifies the SipApplicationSession from which the object is being unbound.
Start innovating with Mobius
What's next? Let's talk!