public class MockCallPeer extends AbstractCallPeer<MockCall,MockProvider>
callPeerConferenceListeners, callPeerListeners, callPeerSecurityListeners, NO_CONFERENCE_MEMBERS
CALL_DURATION_START_TIME_UNKNOWN, MUTE_PROPERTY_NAME
Constructor and Description |
---|
MockCallPeer(java.lang.String address,
MockCall 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.
|
java.lang.String |
getAddress()
Returns a String locator for that peer.
|
MockCall |
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.
|
MockProvider |
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 MockCallPeer(java.lang.String address, MockCall owningCall)
public java.lang.String getAddress()
public java.lang.String getURI()
public MockCall getCall()
getCall
in interface CallPeer
getCall
in class AbstractCallPeer<MockCall,MockProvider>
public java.lang.String getDisplayName()
public byte[] getImage()
public java.lang.String getPeerID()
public Contact getContact()
public MockProvider getProtocolProvider()
getProtocolProvider
in interface CallPeer
getProtocolProvider
in class AbstractCallPeer<MockCall,MockProvider>
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
remove
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.