Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.protocol.event
Interface CallChangeListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
AbstractOperationSetTelephonyConferencing, ActiveCallsRepository, ActiveCallsRepositoryGTalkImpl, ActiveCallsRepositoryJabberImpl, ActiveCallsRepositorySipImpl, CallChangeAdapter, CallGroup, CallGTalkImpl, CallJabberImpl, CallPanel, CallSipImpl, MediaAwareCall, MockOperationSetBasicTelephony, NotificationManager, OperationSetBasicTelephonyGibberishImpl, OperationSetTelephonyConferencingGibberishImpl, OperationSetTelephonyConferencingJabberImpl, OperationSetTelephonyConferencingSipImpl

public interface CallChangeListener
extends EventListener

A call change listener receives events indicating that a call has changed and a peer has either left or joined.

Author:
Emil Ivov

Method Summary
 void callPeerAdded(CallPeerEvent evt)
          Indicates that a new call peer has joined the source call.
 void callPeerRemoved(CallPeerEvent evt)
          Indicates that a call peer has left the source call.
 void callStateChanged(CallChangeEvent evt)
          Indicates that a change has occurred in the state of the source call.
 

Method Detail

callPeerAdded

void callPeerAdded(CallPeerEvent evt)
Indicates that a new call peer has joined the source call.

Parameters:
evt - the CallPeerEvent containing the source call and call peer.

callPeerRemoved

void callPeerRemoved(CallPeerEvent evt)
Indicates that a call peer has left the source call.

Parameters:
evt - the CallPeerEvent containing the source call and call peer.

callStateChanged

void callStateChanged(CallChangeEvent evt)
Indicates that a change has occurred in the state of the source call.

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.