|
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.service.protocol.Call
net.java.sip.communicator.service.protocol.AbstractCall<T,U>
T - the peer extension class like for example CallPeerSipImpl
or CallPeerJabberImplU - the provider extension class like for example
ProtocolProviderServiceSipImpl or
ProtocolProviderServiceJabberImplpublic abstract class AbstractCall<T extends CallPeer,U extends ProtocolProviderService>
Provides implementations for some of the methods in the Call abstract class to facilitate implementations.
| Field Summary | |
|---|---|
protected CallGroup |
callGroup
The CallGroup of this Call. |
| Constructor Summary | |
|---|---|
protected |
AbstractCall(U sourceProvider)
Creates a new Call instance. |
| Method Summary | |
|---|---|
CallGroup |
getCallGroup()
Returns the CallGroup from which this Call belongs. |
int |
getCallPeerCount()
Returns the number of peers currently associated with this call. |
Iterator<T> |
getCallPeers()
Returns an iterator over all call peers. |
protected Vector<T> |
getCallPeersVector()
Returns the Vector containing CallPeers currently
part of this call. |
int |
getCrossProtocolCallPeerCount()
Returns the number of cross-protocol peers currently associated with this call. |
Iterator<CallPeer> |
getCrossProtocolCallPeers()
Returns an iterator over all cross-protocol call peers. |
protected Vector<CallPeer> |
getCrossProtocolCallPeersVector()
Returns the Vector containing cross-protocol CallPeers
currently part of this call. |
U |
getProtocolProvider()
Returns a reference to the ProtocolProviderService instance that created this call. |
void |
setCallGroup(CallGroup callGroup)
Sets the CallGroup of this Call. |
| Methods inherited from class net.java.sip.communicator.service.protocol.Call |
|---|
addCallChangeListener, addLocalUserSoundLevelListener, equals, fireCallChangeEvent, fireCallChangeEvent, fireCallPeerEvent, getCallID, getCallState, hashCode, isConferenceFocus, isDefaultEncrypted, isSipZrtpAttribute, removeCallChangeListener, removeLocalUserSoundLevelListener, setCallState, setCallState, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface net.java.sip.communicator.service.protocol.event.CallGroupListener |
|---|
callAdded, callRemoved |
| Field Detail |
|---|
protected CallGroup callGroup
| Constructor Detail |
|---|
protected AbstractCall(U sourceProvider)
sourceProvider - the proto provider that created us.| Method Detail |
|---|
public Iterator<T> getCallPeers()
getCallPeers in class Callpublic int getCallPeerCount()
getCallPeerCount in class Callprotected Vector<T> getCallPeersVector()
Vector containing CallPeers currently
part of this call. This method should eventually be removed and code
that is using it in the descendants should be brought here.
Vector containing CallPeers currently
participating in this call.public Iterator<CallPeer> getCrossProtocolCallPeers()
getCrossProtocolCallPeers in class Callpublic int getCrossProtocolCallPeerCount()
getCrossProtocolCallPeerCount in class Callprotected Vector<CallPeer> getCrossProtocolCallPeersVector()
Vector containing cross-protocol CallPeers
currently part of this call. This method should eventually be removed and
code that is using it in the descendants should be brought here.
Vector containing cross-protocol CallPeers
currently participating in this call.public U getProtocolProvider()
getProtocolProvider in class Callpublic CallGroup getCallGroup()
getCallGroup in class Callpublic void setCallGroup(CallGroup callGroup)
setCallGroup in class CallcallGroup - CallGroup to set
|
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 | |||||||||