SipApplicationSessionAttributeListener
The SipApplicationSessionAttributeListener interface is used to receive notifications about changes to the attribute list of a SipApplicationSession. By implementing this interface, applications can monitor and respond to events such as attributes being added, removed, or replaced within the session.
This interface is part of the event-driven model for managing session attributes, allowing you to implement custom logic in response to changes in the state or data associated with a SipApplicationSession. It extends the java.util.EventListener interface, making it part of the Java event handling framework.
Methods:
attributeAdded
void attributeAdded(SipApplicationSessionBindingEvent ev)
This method is called after an attribute has been added to a SipApplicationSession. It allows the application to respond to the addition of a new attribute.
Parameters:
ev: A SipApplicationSessionBindingEvent object identifying the session where the attribute was added.
attributeRemoved
void attributeRemoved(SipApplicationSessionBindingEvent ev)
This method is called after an attribute has been removed from a SipApplicationSession. It allows the application to respond to the removal of an attribute.
Parameters:
ev: A SipApplicationSessionBindingEvent object identifying the session where the attribute was removed.
attributeReplaced
void attributeReplaced(SipApplicationSessionBindingEvent ev)
This method is called after an attribute has been replaced in a SipApplicationSession. It allows the application to respond to the replacement of an existing attribute.
Parameters:
ev: A SipApplicationSessionBindingEvent object identifying the session where the attribute was replaced.
Start innovating with Mobius
What's next? Let's talk!