|
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<CallPeerGTalkImpl,OperationSetBasicTelephonyJabberImpl,ProtocolProviderServiceJabberImpl>
net.java.sip.communicator.impl.protocol.jabber.CallGTalkImpl
public class CallGTalkImpl
A Google Talk implementation of the Call abstract class encapsulating Google Talk sessions.
| 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 |
CallGTalkImpl(OperationSetBasicTelephonyJabberImpl parentOpSet)
Initializes a new CallGTalkImpl instance belonging to sourceProvider and associated with the jingle session with the specified sessionID. |
| Method Summary | |
|---|---|
boolean |
containsSessionID(String sid)
Determines if this call contains a peer whose corresponding session has the specified sid. |
CallPeerGTalkImpl |
getPeer(String sid)
Returns the peer whose corresponding session has the specified sid. |
CallPeerGTalkImpl |
getPeerBySessInitPacketID(String id)
Returns the peer whose corresponding session-init ID has the specified id. |
CallPeerGTalkImpl |
initiateGTalkSession(String calleeJID,
Iterable<org.jivesoftware.smack.packet.PacketExtension> sessionInitiateExtensions)
Creates a CallPeerGTalkImpl from calleeJID and sends them initiate IQ request. |
CallPeerGTalkImpl |
processGTalkInitiate(SessionIQ sessionIQ)
Creates a new Google Talk call peer and sends a RINGING response. |
| Methods inherited from class net.java.sip.communicator.service.protocol.AbstractCall |
|---|
getCallGroup, getCallPeerCount, getCallPeers, getCallPeersVector, getCrossProtocolCallPeerCount, getCrossProtocolCallPeers, getCrossProtocolCallPeersVector, getProtocolProvider, 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 |
| Constructor Detail |
|---|
protected CallGTalkImpl(OperationSetBasicTelephonyJabberImpl parentOpSet)
SessionIQ.generateSID().
parentOpSet - the OperationSetBasicTelephonyJabberImpl
instance in the context of which this call has been created.| Method Detail |
|---|
public boolean containsSessionID(String sid)
sid - the ID of the session whose peer we are looking for.
public CallPeerGTalkImpl getPeer(String sid)
sid - the ID of the session whose peer we are looking for.
CallPeerGTalkImpl with the specified Google Talk
sid and null if no such peer exists in this call.public CallPeerGTalkImpl getPeerBySessInitPacketID(String id)
id - the ID of the session-init IQ whose peer we are looking for.
CallPeerGTalkImpl with the specified IQ
id and null if no such peer exists in this call.public CallPeerGTalkImpl processGTalkInitiate(SessionIQ sessionIQ)
sessionIQ - the SessionIQ that created the session.
CallPeerGTalkImpl (the one that sent
the INVITE).
public CallPeerGTalkImpl initiateGTalkSession(String calleeJID,
Iterable<org.jivesoftware.smack.packet.PacketExtension> sessionInitiateExtensions)
throws OperationFailedException
calleeJID - the party that we would like to invite to this call.sessionInitiateExtensions - a collection of additional and optional
PacketExtensions to be added to the initiate
SessionIQ which is to init this CallJabberImpl
OperationFailedException - with the corresponding code if we fail
to create the 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 | |||||||||