public class CallPeerAdapter extends CallPeerAdapter implements CallPeerSecurityListener, java.beans.PropertyChangeListener
Constructor and Description |
---|
CallPeerAdapter(CallPeer peer,
CallPeerRenderer renderer)
Initializes a new CallPeerAdapter instance which is to listen to
a specific CallPeer on behalf of a specific
CallPeerRenderer.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Removes the listeners implemented by this instance from the associated
CallPeer and prepares it for garbage collection.
|
void |
peerDisplayNameChanged(CallPeerChangeEvent ev)
Indicates that a change has occurred in the display name of the source
CallPeer.
|
void |
peerImageChanged(CallPeerChangeEvent ev)
Indicates that a change has occurred in the image of the source
CallPeer.
|
void |
peerStateChanged(CallPeerChangeEvent ev)
Indicates that a change has occurred in the status of the source
CallPeer.
|
void |
propertyChange(java.beans.PropertyChangeEvent ev) |
void |
securityMessageRecieved(CallPeerSecurityMessageEvent ev)
The handler of the security message event.
|
void |
securityNegotiationStarted(CallPeerSecurityNegotiationStartedEvent ev)
The handler for the security event received.
|
void |
securityOff(CallPeerSecurityOffEvent ev)
The handler for the security event received.
|
void |
securityOn(CallPeerSecurityOnEvent ev)
The handler for the security event received.
|
void |
securityTimeout(CallPeerSecurityTimeoutEvent ev)
The handler for the security event received.
|
peerAddressChanged, peerTransportAddressChanged
public CallPeerAdapter(CallPeer peer, CallPeerRenderer renderer)
peer
- the CallPeer which the new instance is to listen to
on behalf of the specified rendererrenderer
- the CallPeerRenderer which is to be facilitated
by the new instancepublic void dispose()
public void peerDisplayNameChanged(CallPeerChangeEvent ev)
peerDisplayNameChanged
in interface CallPeerListener
peerDisplayNameChanged
in class CallPeerAdapter
ev
- the CallPeerChangeEvent instance containing the
source event as well as its previous and its new display namespublic void peerImageChanged(CallPeerChangeEvent ev)
peerImageChanged
in interface CallPeerListener
peerImageChanged
in class CallPeerAdapter
ev
- the CallPeerChangeEvent instance containing the
source event as well as its previous and its new imagepublic void peerStateChanged(CallPeerChangeEvent ev)
peerStateChanged
in interface CallPeerListener
peerStateChanged
in class CallPeerAdapter
ev
- the CallPeerChangeEvent instance containing the
source event as well as its previous and its new statuspublic void propertyChange(java.beans.PropertyChangeEvent ev)
propertyChange
in interface java.beans.PropertyChangeListener
public void securityMessageRecieved(CallPeerSecurityMessageEvent ev)
securityMessageRecieved
in interface CallPeerSecurityListener
ev
- the security message event.public void securityNegotiationStarted(CallPeerSecurityNegotiationStartedEvent ev)
securityNegotiationStarted
in interface CallPeerSecurityListener
ev
- the security started event receivedpublic void securityOff(CallPeerSecurityOffEvent ev)
securityOff
in interface CallPeerSecurityListener
ev
- the security event receivedpublic void securityOn(CallPeerSecurityOnEvent ev)
securityOn
in interface CallPeerSecurityListener
ev
- the security event receivedpublic void securityTimeout(CallPeerSecurityTimeoutEvent ev)
securityTimeout
in interface CallPeerSecurityListener
ev
- the security timeout event received
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.