public abstract class CallPeerAdapter extends java.lang.Object implements CallPeerListener
Extend this class to create a CallPeerChangeEvent listener and override the methods for the events of interest. (If you implement the CallPeerListener interface, you have to define all of the methods in it. This abstract class defines null methods for them all, so you only have to define methods for events you care about.)
CallPeerChangeEvent
,
CallPeerListener
Constructor and Description |
---|
CallPeerAdapter() |
Modifier and Type | Method and Description |
---|---|
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 source CallPeer.
|
public void peerAddressChanged(CallPeerChangeEvent evt)
peerAddressChanged
in interface CallPeerListener
evt
- the CallPeerChangeEvent instance containing the
source event as well as its previous and its new addresspublic void peerDisplayNameChanged(CallPeerChangeEvent evt)
peerDisplayNameChanged
in interface CallPeerListener
evt
- the CallPeerChangeEvent instance containing the
source event as well as its previous and its new display namespublic void peerImageChanged(CallPeerChangeEvent evt)
peerImageChanged
in interface CallPeerListener
evt
- the CallPeerChangeEvent instance containing the
source event as well as its previous and its new imagepublic void peerStateChanged(CallPeerChangeEvent evt)
peerStateChanged
in interface CallPeerListener
evt
- the CallPeerChangeEvent instance containing the
source event as well as its previous and its new statuspublic void peerTransportAddressChanged(CallPeerChangeEvent evt)
peerTransportAddressChanged
in interface CallPeerListener
evt
- the CallPeerChangeEvent instance containing the
source event as well as its previous and its new transport address
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.