Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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

All Superinterfaces:
EventListener
All Known Implementing Classes:
CallGibberishImpl, CallGTalkImpl, CallJabberImpl, CallPeerAdapter, CallPeerAdapter, CallPeerMenu, CallSipImpl, MediaAwareCall, MockCall, NotificationManager, OperationSetAutoAnswerJabberImpl, OperationSetAutoAnswerSipImpl

public interface CallPeerListener
extends EventListener

Receives events notifying of changes that have occurred within a CallPeer. Such changes may pertain to current call peer state, their display name, address, image and (possibly in the future) others.

Author:
Emil Ivov

Method Summary
 void peerAddressChanged(CallPeerChangeEvent evt)
          Indicates that a change has occurred in the address of the source CallPeer.
 void peerDisplayNameChanged(CallPeerChangeEvent evt)
          Indicates that a change has occurred in the display name of the source CallPeer.
 void peerImageChanged(CallPeerChangeEvent evt)
          Indicates that a change has occurred in the image of the source CallPeer.
 void peerStateChanged(CallPeerChangeEvent evt)
          Indicates that a change has occurred in the status of the source CallPeer.
 void peerTransportAddressChanged(CallPeerChangeEvent evt)
          Indicates that a change has occurred in the transport address that we use to communicate with the peer.
 

Method Detail

peerStateChanged

void peerStateChanged(CallPeerChangeEvent evt)
Indicates that a change has occurred in the status of the source CallPeer.

Parameters:
evt - The CallPeerChangeEvent instance containing the source event as well as its previous and its new status.

peerDisplayNameChanged

void peerDisplayNameChanged(CallPeerChangeEvent evt)
Indicates that a change has occurred in the display name of the source CallPeer.

Parameters:
evt - The CallPeerChangeEvent instance containing the source event as well as its previous and its new display names.

peerAddressChanged

void peerAddressChanged(CallPeerChangeEvent evt)
Indicates that a change has occurred in the address of the source CallPeer.

Parameters:
evt - The CallPeerChangeEvent instance containing the source event as well as its previous and its new address.

peerTransportAddressChanged

void peerTransportAddressChanged(CallPeerChangeEvent evt)
Indicates that a change has occurred in the transport address that we use to communicate with the peer.

Parameters:
evt - The CallPeerChangeEvent instance containing the source event as well as its previous and its new transport address.

peerImageChanged

void peerImageChanged(CallPeerChangeEvent evt)
Indicates that a change has occurred in the image of the source CallPeer.

Parameters:
evt - The CallPeerChangeEvent instance containing the source event as well as its previous and its new image.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

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