|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.util.event.PropertyChangeNotifier
net.java.sip.communicator.service.protocol.AbstractCallPeer<CallGibberishImpl,ProtocolProviderServiceGibberishImpl>
net.java.sip.communicator.impl.protocol.gibberish.CallPeerGibberishImpl
public class CallPeerGibberishImpl
A Gibberish implementation of the CallPeer interface.
| Field Summary |
|---|
| Fields inherited from class net.java.sip.communicator.service.protocol.AbstractCallPeer |
|---|
callPeerConferenceListeners, callPeerListeners, callPeerSecurityListeners, NO_CONFERENCE_MEMBERS |
| Fields inherited from interface net.java.sip.communicator.service.protocol.CallPeer |
|---|
CALL_DURATION_START_TIME_UNKNOWN, MUTE_PROPERTY_NAME |
| Constructor Summary | |
|---|---|
CallPeerGibberishImpl(String address,
CallGibberishImpl owningCall)
Creates an instance of CallPeerGibberishImpl by specifying the call peer address and the parent owningCall. |
|
| Method Summary | |
|---|---|
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(Map<ConferenceMember,Integer> levels)
Fires a StreamSoundLevelEvent and notifies all registered listeners. |
(package private) void |
fireStreamSoundLevelEvent(int level)
Fires a StreamSoundLevelEvent and notifies all registered listeners. |
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. |
String |
getDisplayName()
Returns a human readable name representing this peer. |
byte[] |
getImage()
The method returns an image representation of the call peer (e.g. |
String |
getPeerID()
Returns a unique identifier representing this peer. |
ProtocolProviderServiceGibberishImpl |
getProtocolProvider()
Returns the protocol provider that this peer belongs to. |
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. |
| Methods inherited from class net.java.sip.communicator.util.event.PropertyChangeNotifier |
|---|
addPropertyChangeListener, firePropertyChange, getPropertyChangeSource, removePropertyChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface net.java.sip.communicator.service.protocol.CallPeer |
|---|
addPropertyChangeListener, removePropertyChangeListener |
| Constructor Detail |
|---|
public CallPeerGibberishImpl(String address,
CallGibberishImpl owningCall)
address - the address of the peerowningCall - the parent call| Method Detail |
|---|
public String getAddress()
public String getURI()
public CallGibberishImpl getCall()
getCall in interface CallPeergetCall in class AbstractCallPeer<CallGibberishImpl,ProtocolProviderServiceGibberishImpl>public String getDisplayName()
public byte[] getImage()
public String getPeerID()
public Contact getContact()
public ProtocolProviderServiceGibberishImpl getProtocolProvider()
getProtocolProvider in interface CallPeergetProtocolProvider 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(Map<ConferenceMember,Integer> levels)
levels - the new sound levels
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||