|
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.event.CallChangeAdapter
net.java.sip.communicator.service.protocol.ActiveCallsRepository<CallJabberImpl,OperationSetBasicTelephonyJabberImpl>
net.java.sip.communicator.impl.protocol.jabber.ActiveCallsRepositoryJabberImpl
public class ActiveCallsRepositoryJabberImpl
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.
| Field Summary |
|---|
| Fields inherited from class net.java.sip.communicator.service.protocol.ActiveCallsRepository |
|---|
parentOperationSet |
| Constructor Summary | |
|---|---|
ActiveCallsRepositoryJabberImpl(OperationSetBasicTelephonyJabberImpl opSet)
It's where we store all active calls |
|
| Method Summary | |
|---|---|
CallPeerJabberImpl |
findCallPeer(String sid)
Returns the CallPeerJabberImpl whose jingle session has the
specified jingle sid. |
CallPeerJabberImpl |
findCallPeerBySessInitPacketID(String id)
Returns the CallPeerJabberImpl whose session-init's ID has
the specified IQ id. |
CallJabberImpl |
findJingleSID(String sid)
Returns the CallJabberImpl containing a CallPeerJabberImpl whose corresponding jingle session has the specified
jingle sid. |
protected void |
fireCallEvent(int eventID,
Call sourceCall)
Creates and dispatches a CallEvent notifying registered listeners that an event with id eventID has occurred on sourceCall. |
| Methods inherited from class net.java.sip.communicator.service.protocol.ActiveCallsRepository |
|---|
addCall, callStateChanged, getActiveCallCount, getActiveCalls |
| 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 ActiveCallsRepositoryJabberImpl(OperationSetBasicTelephonyJabberImpl opSet)
opSet - the OperationSetBasicTelphony instance which has
been used to create calls in this repository| Method Detail |
|---|
public CallJabberImpl findJingleSID(String sid)
CallJabberImpl containing a CallPeerJabberImpl whose corresponding jingle session has the specified
jingle sid.
sid - the jingle sid we're looking for.
CallJabberImpl containing the peer with the
specified sid or null if we couldn't find one matching
it.public CallPeerJabberImpl findCallPeer(String sid)
CallPeerJabberImpl whose jingle session has the
specified jingle sid.
sid - the jingle sid we're looking for.
CallPeerJabberImpl with the specified sid
or tt>null if we couldn't find one matching it.public CallPeerJabberImpl findCallPeerBySessInitPacketID(String id)
CallPeerJabberImpl whose session-init's ID has
the specified IQ id.
id - the IQ id we're looking for.
CallPeerJabberImpl with the specified id
or null if we couldn't find one matching it.
protected void fireCallEvent(int eventID,
Call sourceCall)
fireCallEvent in class ActiveCallsRepository<CallJabberImpl,OperationSetBasicTelephonyJabberImpl>eventID - the ID of the event to dispatchsourceCall - the call on which the event has occurredActiveCallsRepository.fireCallEvent(int, Call)
|
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 | |||||||||