public abstract class AbstractCallPeerJabberGTalkImpl<T extends AbstractCallJabberGTalkImpl<?>,U extends AbstractCallPeerMediaHandlerJabberGTalkImpl<?>,V extends org.jivesoftware.smack.packet.IQ> extends MediaAwareCallPeer<T,U,ProtocolProviderServiceJabberImpl>
Modifier and Type | Field and Description |
---|---|
protected boolean |
initiator
The indicator which determines whether this peer has initiated the
session.
|
protected java.lang.String |
peerJID
The jabber address of this peer
|
protected V |
sessionInitIQ
The
IQ that created the session that this call represents. |
callPeerConferenceListeners, callPeerListeners, callPeerSecurityListeners, NO_CONFERENCE_MEMBERS
ERROR, INFORMATION, SEVERE, WARNING
MAX_LEVEL, MIN_LEVEL
CALL_DURATION_START_TIME_UNKNOWN, MUTE_PROPERTY_NAME
Modifier | Constructor and Description |
---|---|
protected |
AbstractCallPeerJabberGTalkImpl(java.lang.String peerAddress,
T owningCall)
Creates a new call peer with address peerAddress.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAddress()
Returns a String locator for that peer.
|
Contact |
getContact()
Returns the contact corresponding to this peer or null if no
particular contact has been associated.
|
org.jivesoftware.smackx.packet.DiscoverInfo |
getDiscoveryInfo()
Returns the service discovery information that we have for this peer.
|
java.lang.String |
getDisplayName()
Returns a human readable name representing this peer.
|
java.lang.String |
getSessInitID()
Returns the IQ ID of the Jingle session-initiate packet associated with
this call.
|
abstract java.lang.String |
getSID()
Returns the session ID of the Jingle session associated with this call.
|
java.lang.String |
getURI()
Returns full URI of the address.
|
boolean |
isInitiator()
Determines whether this peer initiated the session.
|
protected void |
retrieveDiscoveryInfo(java.lang.String calleeURI)
Retrieves the DiscoverInfo for a given peer identified by its URI.
|
void |
setAddress(java.lang.String address)
Specifies the address, phone number, or other protocol specific
identifier that represents this call peer.
|
void |
setDiscoveryInfo(org.jivesoftware.smackx.packet.DiscoverInfo discoverInfo)
Sets the service discovery information that we have for this peer.
|
addConferenceMembersSoundLevelListener, addStreamSoundLevelListener, addVideoPropertyChangeListener, audioLevelChanged, audioLevelsReceived, callPeerAdded, callPeerRemoved, conferenceFocusChanged, conferenceMemberAdded, conferenceMemberErrorReceived, conferenceMemberRemoved, getCall, getDirection, getEntity, getImage, getLastConferenceInfoReceived, getLastConferenceInfoReceivedVersion, getLastConferenceInfoSent, getLastConferenceInfoSentTimestamp, getMediaHandler, getPeerID, getProtocolProvider, isConfInfoScheduled, isJitsiVideobridge, isLocalVideoStreaming, isMute, logAndFail, reevalLocalHoldStatus, reevalRemoteHoldStatus, removeConferenceMember, removeConferenceMembersSoundLevelListener, removeStreamSoundLevelListener, removeVideoPropertyChangeListener, securityMessageReceived, securityNegotiationStarted, securityTimeout, securityTurnedOff, securityTurnedOn, setCall, setConfInfoScheduled, setImage, setLastConferenceInfoReceived, setLastConferenceInfoSent, setLastConferenceInfoSentTimestamp, setLocalVideoAllowed, setMediaHandler, setMute, setPeerID, setState
addCallPeerConferenceListener, addCallPeerListener, addCallPeerSecurityListener, addConferenceMember, findConferenceMember, fireCallPeerChangeEvent, fireCallPeerChangeEvent, fireCallPeerChangeEvent, fireCallPeerConferenceEvent, fireCallPeerSecurityMessageEvent, fireCallPeerSecurityNegotiationStartedEvent, fireCallPeerSecurityOffEvent, fireCallPeerSecurityOnEvent, fireCallPeerSecurityTimeoutEvent, fireConferenceMemberErrorEvent, getAlternativeIMPPAddress, getCallDurationStartTime, getCallInfoURL, getConferenceMemberCount, getConferenceMembers, getCurrentSecuritySettings, getState, isConferenceFocus, removeCallPeerConferenceListener, removeCallPeerListener, removeCallPeerSecurityListener, setAlternativeIMPPAddress, setConferenceFocus, setState, setState, toString
addPropertyChangeListener, firePropertyChange, getPropertyChangeSource, removePropertyChangeListener
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addPropertyChangeListener, removePropertyChangeListener
protected boolean initiator
protected java.lang.String peerJID
protected V extends org.jivesoftware.smack.packet.IQ sessionInitIQ
IQ
that created the session that this call represents.protected AbstractCallPeerJabberGTalkImpl(java.lang.String peerAddress, T owningCall)
peerAddress
- the Jabber or Google Talk address of the new call
peer.owningCall
- the call that contains this call peer.public java.lang.String getAddress()
public Contact getContact()
public org.jivesoftware.smackx.packet.DiscoverInfo getDiscoveryInfo()
public java.lang.String getDisplayName()
public java.lang.String getURI()
public boolean isInitiator()
protected void retrieveDiscoveryInfo(java.lang.String calleeURI)
calleeURI
- The URI of the call peer.public void setAddress(java.lang.String address)
address
- The address of this call peer.public void setDiscoveryInfo(org.jivesoftware.smackx.packet.DiscoverInfo discoverInfo)
discoverInfo
- the discovery information that we have obtained for
this peer.public abstract java.lang.String getSID()
public java.lang.String getSessInitID()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.