public class SwingCallListener extends java.lang.Object implements CallListener
CallListener
interface which delivers
the CallEvents to the AWT event dispatching thread.Constructor and Description |
---|
SwingCallListener() |
Modifier and Type | Method and Description |
---|---|
void |
callEnded(CallEvent ev)
Indicates that all peers have left the source call and that it has
been ended.
|
protected void |
callEndedInEventDispatchThread(CallEvent ev)
Notifies this CallListener in the AWT event dispatching thread
about a CallEvent with eventID
CallEvent.CALL_ENDED . |
void |
incomingCallReceived(CallEvent ev)
This method is called by a protocol provider whenever an incoming call is
received.
|
protected void |
incomingCallReceivedInEventDispatchThread(CallEvent ev)
Notifies this CallListener in the AWT event dispatching thread
about a CallEvent with eventID
CallEvent.CALL_RECEIVED . |
protected void |
onCallEvent(CallEvent ev)
Notifies this CallListener about a specific CallEvent.
|
protected void |
onCallEventInEventDispatchThread(CallEvent ev)
Notifies this CallListener about a specific CallEvent.
|
void |
outgoingCallCreated(CallEvent ev)
This method is called by a protocol provider upon initiation of an
outgoing call.
|
protected void |
outgoingCallCreatedInEventDispatchThread(CallEvent ev)
Notifies this CallListener in the AWT event dispatching thread
about a CallEvent with eventID
CallEvent.CALL_INITIATED . |
public void callEnded(CallEvent ev)
callEnded
in interface CallListener
ev
- the CallEvent containing the source call.protected void callEndedInEventDispatchThread(CallEvent ev)
CallEvent.CALL_ENDED
. The SwingCallListener
implementation does nothing.ev
- the CallEvent this CallListener is being
notified aboutpublic void incomingCallReceived(CallEvent ev)
incomingCallReceived
in interface CallListener
ev
- a CallEvent instance describing the new incoming callprotected void incomingCallReceivedInEventDispatchThread(CallEvent ev)
CallEvent.CALL_RECEIVED
. The SwingCallListener
implementation does nothing.ev
- the CallEvent this CallListener is being
notified aboutprotected void onCallEvent(CallEvent ev)
ev
- the CallEvent this CallListener is being
notified aboutprotected void onCallEventInEventDispatchThread(CallEvent ev)
ev
- the CallEvent this CallListener is being
notified aboutpublic void outgoingCallCreated(CallEvent ev)
outgoingCallCreated
in interface CallListener
ev
- a CalldEvent instance describing the new incoming call.protected void outgoingCallCreatedInEventDispatchThread(CallEvent ev)
CallEvent.CALL_INITIATED
. The SwingCallListener
implementation does nothing.ev
- the CallEvent this CallListener is being
notified about
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.