|
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<CallSipImpl,OperationSetBasicTelephonySipImpl>
net.java.sip.communicator.impl.protocol.sip.ActiveCallsRepositorySipImpl
public class ActiveCallsRepositorySipImpl
Keeps a list of all calls currently active and maintained by this protocol povider. Offers methods for finding a call by its ID, peer dialog and others.
| Field Summary |
|---|
| Fields inherited from class net.java.sip.communicator.service.protocol.ActiveCallsRepository |
|---|
parentOperationSet |
| Constructor Summary | |
|---|---|
ActiveCallsRepositorySipImpl(OperationSetBasicTelephonySipImpl opSet)
Creates a new instance of this repository. |
|
| Method Summary | |
|---|---|
CallSipImpl |
findCall(javax.sip.Dialog dialog)
Returns the call that contains the specified dialog (i.e. |
CallSipImpl |
findCall(String callID,
String localTag,
String remoteTag)
Returns the CallSipImpl instance with a Dialog matching the specified Call-ID, local and remote tags. |
CallPeerSipImpl |
findCallPeer(javax.sip.Dialog dialog)
Returns the call peer whose associated jain sip dialog matches dialog. |
CallPeerSipImpl |
findCallPeer(String branchID,
javax.sip.header.Header cidHeader)
Returns the CallPeerSipImpl whose INVITE transaction has the specified branchID and whose corresponding INVITE request contains the specified callID. |
CallPeerSipImpl |
findCallPeer(String branchID,
String callID)
Returns the CallPeerSipImpl whose INVITE transaction has the specified branchID and whose corresponding INVITE request contains the specified callID. |
CallPeerSipImpl |
findCallPeer(String callID,
String localTag,
String remoteTag)
Returns the CallPeerSipImpl instance with a Dialog matching CallID, local and remote tags. |
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 ActiveCallsRepositorySipImpl(OperationSetBasicTelephonySipImpl opSet)
opSet - a reference to the
OperationSetBasicTelephonySipImpl that craeted us.| Method Detail |
|---|
public CallSipImpl findCall(javax.sip.Dialog dialog)
dialog - the jain sip Dialog whose containing call we're
looking for.
public CallPeerSipImpl findCallPeer(javax.sip.Dialog dialog)
dialog - the jain sip dialog whose corresponding peer we're
looking for.
public CallPeerSipImpl findCallPeer(String callID,
String localTag,
String remoteTag)
callID - the Call-ID of the dialog we are looking for.localTag - the local tag of the dialog we are looking for.remoteTag - the remote tag of the dialog we are looking for.
public CallPeerSipImpl findCallPeer(String branchID,
String callID)
callID - the Call-ID of the dialog we are looking for.branchID - a String corresponding to the branch id of the
latest INVITE transaction that was associated with the peer we are
looking for.
public CallPeerSipImpl findCallPeer(String branchID,
javax.sip.header.Header cidHeader)
cidHeader - the Call-ID of the dialog we are looking for.branchID - a String corresponding to the branch id of the
latest INVITE transaction that was associated with the peer we are
looking for.
public CallSipImpl findCall(String callID,
String localTag,
String remoteTag)
callID - the Call-ID of the dialog we are looking for.localTag - the local tag of the dialog we are looking for.remoteTag - the remote tag of the dialog we are looking for.
protected void fireCallEvent(int eventID,
Call sourceCall)
fireCallEvent in class ActiveCallsRepository<CallSipImpl,OperationSetBasicTelephonySipImpl>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 | |||||||||