|
SIP Communicator: 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.event.CallChangeAdapter
net.java.sip.communicator.impl.protocol.jabber.ActiveCallsRepository
public class ActiveCallsRepository
Keeps a list of all calls currently active and maintained by this protocol provider. Offers methods for finding a call by its ID, peer session and others.
| Constructor Summary | |
|---|---|
ActiveCallsRepository(OperationSetBasicTelephonyJabberImpl opSet)
It's where we store all active calls |
|
| Method Summary | |
|---|---|
void |
addCall(CallJabberImpl call)
Adds the specified call to the list of calls tracked by this repository. |
void |
callStateChanged(CallChangeEvent evt)
If evt indicates that the call has been ended we remove it from the repository. |
Iterator<CallJabberImpl> |
getActiveCalls()
Returns an iterator over all currently active (non-ended) calls. |
| Methods inherited from class net.java.sip.communicator.service.protocol.event.CallChangeAdapter |
|---|
callPeerAdded, callPeerRemoved |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ActiveCallsRepository(OperationSetBasicTelephonyJabberImpl opSet)
opSet - the OperationSetBasicTelphony instance which has
been used to create calls in this repository| Method Detail |
|---|
public void addCall(CallJabberImpl call)
call - CallJabberImplpublic void callStateChanged(CallChangeEvent evt)
callStateChanged in interface CallChangeListenercallStateChanged in class CallChangeAdapterevt - the CallChangeEvent instance containing the source
calls and its old and new state.public Iterator<CallJabberImpl> getActiveCalls()
|
SIP Communicator: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||