public class CallPeerGibberishImpl extends AbstractCallPeer<CallGibberishImpl,ProtocolProviderServiceGibberishImpl>
callPeerConferenceListeners, callPeerListeners, callPeerSecurityListeners, NO_CONFERENCE_MEMBERS
CALL_DURATION_START_TIME_UNKNOWN, MUTE_PROPERTY_NAME
Constructor and Description |
---|
CallPeerGibberishImpl(java.lang.String address,
CallGibberishImpl owningCall)
Creates an instance of CallPeerGibberishImpl by specifying the
call peer address and the parent owningCall.
|
Modifier and Type | Method and Description |
---|---|
void |
addConferenceMembersSoundLevelListener(ConferenceMembersSoundLevelListener listener)
Adds a specific SoundLevelListener to the list
of listeners interested in and notified about changes in conference
members sound level.
|
void |
addStreamSoundLevelListener(SoundLevelListener listener)
Adds a specific SoundLevelListener to the list of
listeners interested in and notified about changes in stream sound level
related information.
|
(package private) void |
fireConferenceMembersSoundLevelEvent(java.util.Map<ConferenceMember,java.lang.Integer> levels)
Fires a StreamSoundLevelEvent and notifies all registered
listeners.
|
(package private) void |
fireStreamSoundLevelEvent(int level)
Fires a StreamSoundLevelEvent and notifies all registered
listeners.
|
java.lang.String |
getAddress()
Returns a String locator for that peer.
|
CallGibberishImpl |
getCall()
Returns a reference to the call that this peer belongs to.
|
Contact |
getContact()
Returns the contact corresponding to this peer or null if no
particular contact has been associated.
|
java.lang.String |
getDisplayName()
Returns a human readable name representing this peer.
|
byte[] |
getImage()
The method returns an image representation of the call peer
(e.g.
|
java.lang.String |
getPeerID()
Returns a unique identifier representing this peer.
|
ProtocolProviderServiceGibberishImpl |
getProtocolProvider()
Returns the protocol provider that this peer belongs to.
|
java.lang.String |
getURI()
Returns full URI of the address.
|
void |
removeConferenceMembersSoundLevelListener(ConferenceMembersSoundLevelListener listener)
Removes a specific SoundLevelListener of the
list of listeners interested in and notified about changes in conference
members sound level.
|
void |
removeStreamSoundLevelListener(SoundLevelListener listener)
Removes a specific SoundLevelListener of the list of
listeners interested in and notified about changes in stream sound level
related information.
|
addCallPeerConferenceListener, addCallPeerListener, addCallPeerSecurityListener, addConferenceMember, findConferenceMember, fireCallPeerChangeEvent, fireCallPeerChangeEvent, fireCallPeerChangeEvent, fireCallPeerConferenceEvent, fireCallPeerSecurityMessageEvent, fireCallPeerSecurityNegotiationStartedEvent, fireCallPeerSecurityOffEvent, fireCallPeerSecurityOnEvent, fireCallPeerSecurityTimeoutEvent, fireConferenceMemberErrorEvent, getAlternativeIMPPAddress, getCallDurationStartTime, getCallInfoURL, getConferenceMemberCount, getConferenceMembers, getCurrentSecuritySettings, getState, isConferenceFocus, isMute, removeCallPeerConferenceListener, removeCallPeerListener, removeCallPeerSecurityListener, removeConferenceMember, setAlternativeIMPPAddress, setConferenceFocus, setMute, setState, setState, setState, toString
addPropertyChangeListener, firePropertyChange, getPropertyChangeSource, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addPropertyChangeListener, removePropertyChangeListener
public CallPeerGibberishImpl(java.lang.String address, CallGibberishImpl owningCall)
address
- the address of the peerowningCall
- the parent callpublic java.lang.String getAddress()
public java.lang.String getURI()
public CallGibberishImpl getCall()
getCall
in interface CallPeer
getCall
in class AbstractCallPeer<CallGibberishImpl,ProtocolProviderServiceGibberishImpl>
public java.lang.String getDisplayName()
public byte[] getImage()
public java.lang.String getPeerID()
public Contact getContact()
public ProtocolProviderServiceGibberishImpl getProtocolProvider()
getProtocolProvider
in interface CallPeer
getProtocolProvider
in class AbstractCallPeer<CallGibberishImpl,ProtocolProviderServiceGibberishImpl>
public void addStreamSoundLevelListener(SoundLevelListener listener)
listener
- the SoundLevelListener to addpublic void removeStreamSoundLevelListener(SoundLevelListener listener)
listener
- the SoundLevelListener to removepublic void addConferenceMembersSoundLevelListener(ConferenceMembersSoundLevelListener listener)
listener
- the SoundLevelListener to addpublic void removeConferenceMembersSoundLevelListener(ConferenceMembersSoundLevelListener listener)
listener
- the SoundLevelListener to
removevoid fireStreamSoundLevelEvent(int level)
level
- the new sound levelvoid fireConferenceMembersSoundLevelEvent(java.util.Map<ConferenceMember,java.lang.Integer> levels)
levels
- the new sound levels
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.