/*
* This is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation; either version 2.1 of
* the License, or (at your option) any later version.
*
* This software is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this software; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
*/
package javax.servlet.sip;
/**
* Causes an object to be notified when it is bound to or unbound from a SipSession. The object is notified by an SipSessionBindingEvent object. This may be as a result of a servlet programmer explicitly unbinding an attribute from a session, due to a session being invalidated, or due to a session timing out.
* See Also:SipSession, SipSessionBindingEvent
*/
public interface SipSessionBindingListener extends java.util.EventListener{
/**
* Notifies the object that it is being bound to a session and identifies the session.
*/
void valueBound(javax.servlet.sip.SipSessionBindingEvent event);
/**
* Notifies the object that it is being unbound from a session and identifies the session.
*/
void valueUnbound(javax.servlet.sip.SipSessionBindingEvent event);
}