|
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<CallGTalkImpl,OperationSetBasicTelephonyJabberImpl>
net.java.sip.communicator.impl.protocol.jabber.ActiveCallsRepositoryGTalkImpl
public class ActiveCallsRepositoryGTalkImpl
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 | |
|---|---|
ActiveCallsRepositoryGTalkImpl(OperationSetBasicTelephonyJabberImpl opSet)
It's where we store all active calls |
|
| Method Summary | |
|---|---|
CallPeerGTalkImpl |
findCallPeer(String sid)
Returns the CallPeerGTalkImpl whose jingle session has the
specified jingle sid. |
CallPeerGTalkImpl |
findCallPeerBySessInitPacketID(String id)
Returns the CallPeerGTalkImpl whose session-init's ID has
the specified IQ id. |
CallGTalkImpl |
findSessionID(String sid)
Returns the CallGTalkImpl containing a CallPeerGTalkImpl 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 ActiveCallsRepositoryGTalkImpl(OperationSetBasicTelephonyJabberImpl opSet)
opSet - the OperationSetBasicTelphony instance which has
been used to create calls in this repository| Method Detail |
|---|
public CallGTalkImpl findSessionID(String sid)
CallGTalkImpl containing a CallPeerGTalkImpl whose corresponding jingle session has the specified
jingle sid.
sid - the jingle sid we're looking for.
CallGTalkImpl containing the peer with the
specified sid or null if we couldn't find one matching
it.public CallPeerGTalkImpl findCallPeer(String sid)
CallPeerGTalkImpl whose jingle session has the
specified jingle sid.
sid - the jingle sid we're looking for.
CallPeerGTalkImpl with the specified sid
or tt>null if we couldn't find one matching it.public CallPeerGTalkImpl findCallPeerBySessInitPacketID(String id)
CallPeerGTalkImpl whose session-init's ID has
the specified IQ id.
id - the IQ id we're looking for.
CallPeerGTalkImpl 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<CallGTalkImpl,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 | |||||||||