|
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,V>
net.java.sip.communicator.service.protocol.media.MediaAwareCall<CallPeerSipImpl,OperationSetBasicTelephonySipImpl,ProtocolProviderServiceSipImpl>
net.java.sip.communicator.impl.protocol.sip.CallSipImpl
public class CallSipImpl
A SIP implementation of the Call abstract class encapsulating SIP dialogs.
| Field Summary |
|---|
| Fields inherited from class net.java.sip.communicator.service.protocol.media.MediaAwareCall |
|---|
DEFAULT_DEVICE, localVideoAllowed, mediaUseCase, parentOpSet |
| Fields inherited from class net.java.sip.communicator.service.protocol.AbstractCall |
|---|
callGroup |
| Constructor Summary | |
|---|---|
protected |
CallSipImpl(OperationSetBasicTelephonySipImpl parentOpSet)
Crates a CallSipImpl instance belonging to sourceProvider and initiated by CallCreator. |
| Method Summary | |
|---|---|
void |
callAdded(CallGroupEvent evt)
Notified when a call are added to a CallGroup. |
boolean |
contains(javax.sip.Dialog dialog)
Returns true if dialog matches the jain sip dialog established with one of the peers in this call. |
CallPeerSipImpl |
findCallPeer(javax.sip.Dialog dialog)
Returns the call peer whose associated jain sip dialog matches dialog. |
ProtocolProviderServiceSipImpl |
getProtocolProvider()
Returns a reference to the ProtocolProviderServiceSipImpl instance that created this call. |
CallPeerSipImpl |
invite(javax.sip.address.Address calleeAddress,
javax.sip.message.Message cause)
Creates a CallPeerSipImpl from calleeAddress and sends them an invite request. |
CallPeerSipImpl |
processInvite(javax.sip.SipProvider jainSipProvider,
javax.sip.ServerTransaction serverTran)
Creates a new call and sends a RINGING response. |
void |
processReplacingInvite(javax.sip.SipProvider jainSipProvider,
javax.sip.ServerTransaction serverTransaction,
CallPeerSipImpl callPeerToReplace)
Processes an incoming INVITE that is meant to replace an existing CallPeerSipImpl that is participating in this call. |
void |
reInvite()
Send a RE-INVITE request for all current CallPeer to reflect possible change in media setup (video start/stop, ...). |
void |
setInitialQualityPreferences(QualityPreset qualityPreferences)
Set a quality preferences we may use when we start the call. |
| Methods inherited from class net.java.sip.communicator.service.protocol.AbstractCall |
|---|
getCallGroup, getCallPeerCount, getCallPeers, getCallPeersVector, getCrossProtocolCallPeerCount, getCrossProtocolCallPeers, getCrossProtocolCallPeersVector, setCallGroup |
| Methods inherited from class net.java.sip.communicator.service.protocol.Call |
|---|
addCallChangeListener, equals, fireCallChangeEvent, fireCallChangeEvent, fireCallPeerEvent, getCallID, getCallState, hashCode, isDefaultEncrypted, isSipZrtpAttribute, removeCallChangeListener, 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.CallPeerListener |
|---|
peerAddressChanged, peerDisplayNameChanged, peerImageChanged, peerStateChanged, peerTransportAddressChanged |
| Constructor Detail |
|---|
protected CallSipImpl(OperationSetBasicTelephonySipImpl parentOpSet)
parentOpSet - a reference to the operation set that's creating us
and that we would be able to use for even dispatching.| Method Detail |
|---|
public boolean contains(javax.sip.Dialog dialog)
dialog - the dialog whose corresponding peer we're looking for.
public CallPeerSipImpl findCallPeer(javax.sip.Dialog dialog)
dialog - the jain sip dialog whose corresponding peer we're looking
for.
public ProtocolProviderServiceSipImpl getProtocolProvider()
getProtocolProvider in class AbstractCall<CallPeerSipImpl,ProtocolProviderServiceSipImpl>
public CallPeerSipImpl invite(javax.sip.address.Address calleeAddress,
javax.sip.message.Message cause)
throws OperationFailedException
calleeAddress - the party that we would like to invite to this call.cause - the message (e.g. a Refer request), that is the reason for
this invite or null if this is a user-initiated invitation
OperationFailedException - with the corresponding code if we fail
to create the call.
public void reInvite()
throws OperationFailedException
OperationFailedException - if problem occurred during SDP
generation or network problem
public void processReplacingInvite(javax.sip.SipProvider jainSipProvider,
javax.sip.ServerTransaction serverTransaction,
CallPeerSipImpl callPeerToReplace)
jainSipProvider - the JAIN-SIP SipProvider that received
the request.serverTransaction - the transaction containing the INVITE request.callPeerToReplace - a reference to the CallPeer that this
INVITE is trying to replace.
public CallPeerSipImpl processInvite(javax.sip.SipProvider jainSipProvider,
javax.sip.ServerTransaction serverTran)
jainSipProvider - the provider containing
sourceTransaction.serverTran - the transaction containing the received request.
public void setInitialQualityPreferences(QualityPreset qualityPreferences)
qualityPreferences - the initial quality preferences.public void callAdded(CallGroupEvent evt)
callAdded in interface CallGroupListenercallAdded in class MediaAwareCall<CallPeerSipImpl,OperationSetBasicTelephonySipImpl,ProtocolProviderServiceSipImpl>evt - eventCallGroupListener.callAdded(CallGroupEvent)
|
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 | |||||||||