Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.protocol.event
Class CallChangeAdapter

java.lang.Object
  extended by net.java.sip.communicator.service.protocol.event.CallChangeAdapter
All Implemented Interfaces:
EventListener, CallChangeListener
Direct Known Subclasses:
ActiveCallsRepository

public abstract class CallChangeAdapter
extends Object
implements CallChangeListener

An abstract adapter class for receiving call-state (change) events. This class exists only as a convenience for creating listener objects.

Extend this class to create a CallChangeEvent listener and override the methods for the events of interest. (If you implement the CallChangeListener 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.)

Author:
Lubomir Marinov
See Also:
CallChangeEvent, CallChangeListener

Constructor Summary
CallChangeAdapter()
           
 
Method Summary
 void callPeerAdded(CallPeerEvent evt)
          A dummy implementation of this listener's callPeerAdded() method.
 void callPeerRemoved(CallPeerEvent evt)
          A dummy implementation of this listener's callPeerRemoved() method.
 void callStateChanged(CallChangeEvent evt)
          A dummy implementation of this listener's callStateChanged() method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallChangeAdapter

public CallChangeAdapter()
Method Detail

callPeerAdded

public void callPeerAdded(CallPeerEvent evt)
A dummy implementation of this listener's callPeerAdded() method.

Specified by:
callPeerAdded in interface CallChangeListener
Parameters:
evt - the CallPeerEvent containing the source call and call peer.

callPeerRemoved

public void callPeerRemoved(CallPeerEvent evt)
A dummy implementation of this listener's callPeerRemoved() method.

Specified by:
callPeerRemoved in interface CallChangeListener
Parameters:
evt - the CallPeerEvent containing the source call and call peer.

callStateChanged

public void callStateChanged(CallChangeEvent evt)
A dummy implementation of this listener's callStateChanged() method.

Specified by:
callStateChanged in interface CallChangeListener
Parameters:
evt - the CallChangeEvent instance containing the source calls and its old and new state.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.