Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

All Superinterfaces:
EventListener
All Known Implementing Classes:
AbstractOperationSetTelephonyConferencing, CallHistoryServiceImpl, CallManager.GuiCallListener, CallPanel, CallShortcut, NotificationManager, OperationSetTelephonyConferencingJabberImpl, OperationSetTelephonyConferencingSipImpl, ReceivedCallDialog

public interface CallListener
extends EventListener

Instances of this class are used for listening for notifications coming out of a telephony Provider - such as an incoming Call for example. Whenever a telephony Provider receives an invitation to a call from a particular

Author:
Emil Ivov

Method Summary
 void callEnded(CallEvent event)
          Indicates that all peers have left the source call and that it has been ended.
 void incomingCallReceived(CallEvent event)
          This method is called by a protocol provider whenever an incoming call is received.
 void outgoingCallCreated(CallEvent event)
          This method is called by a protocol provider upon initiation of an outgoing call.
 

Method Detail

incomingCallReceived

void incomingCallReceived(CallEvent event)
This method is called by a protocol provider whenever an incoming call is received.

Parameters:
event - a CallEvent instance describing the new incoming call

outgoingCallCreated

void outgoingCallCreated(CallEvent event)
This method is called by a protocol provider upon initiation of an outgoing call.

Parameters:
event - a CalldEvent instance describing the new incoming call.

callEnded

void callEnded(CallEvent event)
Indicates that all peers have left the source call and that it has been ended. The event may be considered redundant since there are already events issued upon termination of a single call peer but we've decided to keep it for listeners that are only interested in call duration and don't want to follow other call details.

Parameters:
event - the CallEvent containing the source call.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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