/*
 * 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;

import java.util.*;


/**
 * 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
 */
public interface CallListener extends EventListener
{
    /**
     * This method is called by a protocol provider whenever an incoming call
     * is received.
     * @param event a CallReceivedEvent instance describing the new incoming
     * call
     */
    public void incomingCallReceived(CallReceivedEvent event);
}

@@ -678,31 +678,284 @@
 event a Call
-Receive
+Event instance describing the new incoming%0A     * call%0A     */%0A    public void incomingCallReceived(CallEvent event);%0A%0A    /**%0A     * This method is called by a protocol provider upon initiation of an%0A     * outgoing call.%0A     * %3Cp%3E%0A     * @param event a Call
 dEvent insta
@@ -989,78 +989,567 @@
 ming
+ call.
 %0A     *
- call%0A 
+/%0A    public void outgoingCallCreated(CallEvent event);%0A%0A
     
-*
 /
+**
 %0A    
-public void incomingCallReceived(CallReceived
+ * Indicates that all participants have left the source call and that it%0A     * has been ended. The event may be considered redundant since there are%0A     * already events issued upon termination of a single call participant but%0A     * we've decided to keep it for listeners that are only intersted in call%0A     * duration and don't want to follow other call details.%0A     * @param event the %3Ctt%3ECallEvent%3C/tt%3E containing the source call.%0A     */%0A    public void callEnded(Call
 Even
@@ -1558,10 +1558,11 @@
 event);%0A
+%0A
 %7D%0A

Support for SIP (Work in Progress)