Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.gui.main.call
Class CallManager.GuiCallListener

java.lang.Object
  extended by net.java.sip.communicator.impl.gui.main.call.CallManager.GuiCallListener
All Implemented Interfaces:
EventListener, CallListener
Enclosing class:
CallManager

public static class CallManager.GuiCallListener
extends Object
implements CallListener

A call listener.


Constructor Summary
CallManager.GuiCallListener()
           
 
Method Summary
 void callEnded(CallEvent event)
          Implements CallListener.callEnded.
 void incomingCallReceived(CallEvent event)
          Implements CallListener.incomingCallReceived.
 void outgoingCallCreated(CallEvent event)
          Creates and opens a call dialog.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallManager.GuiCallListener

public CallManager.GuiCallListener()
Method Detail

incomingCallReceived

public void incomingCallReceived(CallEvent event)
Implements CallListener.incomingCallReceived. When a call is received creates a ReceivedCallDialog and plays the ring phone sound to the user.

Specified by:
incomingCallReceived in interface CallListener
Parameters:
event - the CallEvent

callEnded

public void callEnded(CallEvent event)
Implements CallListener.callEnded. Stops sounds that are playing at the moment if there're any. Removes the call panel and disables the hang up button.

Specified by:
callEnded in interface CallListener
Parameters:
event - the CallEvent

outgoingCallCreated

public void outgoingCallCreated(CallEvent event)
Creates and opens a call dialog. Implements CallListener.outGoingCallCreated.

Specified by:
outgoingCallCreated in interface CallListener
Parameters:
event - the CallEvent

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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