/* * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client. * * Distributable under LGPL license. * See terms of license at gnu.org. */ package net.java.sip.communicator.service.protocol.event; /** * An abstract adapter class for receiving call-state (change) events. This * class exists only as a convenience for creating listener objects. * <p> * Extend this class to create a <code>CallChangeEvent</code> listener and * override the methods for the events of interest. (If you implement the * <code>CallChangeListener</code> interface, you have to define all of the * methods in it. This abstract class defines null methods for them all, so you * only have to define methods for events you care about.) * </p> * * @see CallChangeEvent * @see CallChangeListener * * @author Lubomir Marinov */ public abstract class CallChangeAdapter implements CallChangeListener { /* * (non-Javadoc) * * @seenet.java.sip.communicator.service.protocol.event.CallChangeListener# * callParticipantAdded * (net.java.sip.communicator.service.protocol.event.CallParticipantEvent) */ public void callParticipantAdded(CallParticipantEvent evt) { } /* * (non-Javadoc) * * @seenet.java.sip.communicator.service.protocol.event.CallChangeListener# * callParticipantRemoved * (net.java.sip.communicator.service.protocol.event.CallParticipantEvent) */ public void callParticipantRemoved(CallParticipantEvent evt) { } /* * (non-Javadoc) * * @seenet.java.sip.communicator.service.protocol.event.CallChangeListener# * callStateChanged * (net.java.sip.communicator.service.protocol.event.CallChangeEvent) */ public void callStateChanged(CallChangeEvent evt) { } }