Home · All Classes · All Namespaces · Modules · Functions · Files |
#include <TelepathyQt/CallStreamEndpoint>
Inherits Tp::AbstractInterface.
Public Slots | |
QDBusPendingReply | SetSelectedCandidatePair (const Tp::Candidate &localCandidate, const Tp::Candidate &remoteCandidate, int timeout=-1) |
QDBusPendingReply | SetEndpointState (uint component, uint state, int timeout=-1) |
QDBusPendingReply | AcceptSelectedCandidatePair (const Tp::Candidate &localCandidate, const Tp::Candidate &remoteCandidate, int timeout=-1) |
QDBusPendingReply | RejectSelectedCandidatePair (const Tp::Candidate &localCandidate, const Tp::Candidate &remoteCandidate, int timeout=-1) |
QDBusPendingReply | SetControlling (bool controlling, int timeout=-1) |
Signals | |
void | RemoteCredentialsSet (const QString &username, const QString &password) |
void | RemoteCandidatesAdded (const Tp::CandidateList &candidates) |
void | CandidatePairSelected (const Tp::Candidate &localCandidate, const Tp::Candidate &remoteCandidate) |
void | EndpointStateChanged (uint component, uint state) |
void | ControllingChanged (bool controlling) |
Signals inherited from Tp::AbstractInterface | |
void | propertiesChanged (const QVariantMap &changedProperties, const QStringList &invalidatedProperties) |
Static Public Member Functions | |
static QLatin1String | staticInterfaceName () |
Protected Member Functions | |
virtual void | invalidate (Tp::DBusProxy *, const QString &, const QString &) |
Protected Member Functions inherited from Tp::AbstractInterface | |
AbstractInterface (DBusProxy *proxy, const QLatin1String &interface) | |
AbstractInterface (const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent) | |
PendingVariant * | internalRequestProperty (const QString &name) const |
PendingOperation * | internalSetProperty (const QString &name, const QVariant &newValue) |
PendingVariantMap * | internalRequestAllProperties () const |
Additional Inherited Members | |
Protected Slots inherited from Tp::AbstractInterface |
Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Call1.Stream.Endpoint".
Tp::Client::CallStreamEndpointInterface::CallStreamEndpointInterface | ( | const QString & | busName, |
const QString & | objectPath, | ||
QObject * | parent = 0 |
||
) |
Creates a CallStreamEndpointInterface associated with the given object on the session bus.
busName | Name of the service the object is on. |
objectPath | Path to the object on the service. |
parent | Passed to the parent class constructor. |
Tp::Client::CallStreamEndpointInterface::CallStreamEndpointInterface | ( | const QDBusConnection & | connection, |
const QString & | busName, | ||
const QString & | objectPath, | ||
QObject * | parent = 0 |
||
) |
Creates a CallStreamEndpointInterface associated with the given object on the given bus.
connection | The bus via which the object can be reached. |
busName | Name of the service the object is on. |
objectPath | Path to the object on the service. |
parent | Passed to the parent class constructor. |
Tp::Client::CallStreamEndpointInterface::CallStreamEndpointInterface | ( | Tp::DBusProxy * | proxy | ) |
Creates a CallStreamEndpointInterface associated with the same object as the given proxy.
proxy | The proxy to use. It will also be the QObject::parent() for this object. |
|
inlinestatic |
Returns the name of the interface "org.freedesktop.Telepathy.Call1.Stream.Endpoint", which this class represents.
|
inline |
Asynchronous getter for the remote object property RemoteCredentials
of type Tp::StreamCredentials
.
The ICE credentials used for all candidates. If each candidate has different credentials, then this property SHOULD be ("", ""). Per-candidate credentials are set in the Candidate's Candidate_Info a{sv}.
|
inline |
Asynchronous getter for the remote object property RemoteCandidates
of type Tp::CandidateList
.
A list of candidates for this endpoint.
|
inline |
Asynchronous getter for the remote object property SelectedCandidatePairs
of type Tp::CandidatePairList
.
The candidates that have been selected for use to stream packets to the remote contact for each component of the stream. Change notification is given via the the CandidatePairSelected() signal.
Note to client implementors (from RFC 5245 section 9.2.2.3):
If at least one of the pairs is In-Progress, the agent SHOULD wait for those checks to complete, and as each completes, redo the processing in this section until there are no losing pairs.
Also note that some or all of the local candidates in this list may represent a peer-reflexive candidate that do not appear in CallStreamInterfaceMediaInterface::LocalCandidates .
See RFC 5245 Appendix B.6. for more details about why this is.
|
inline |
Asynchronous getter for the remote object property EndpointState
of type Tp::ComponentStateMap
.
The state of ICE negotiation with this Endpoint for each component of the stream.
|
inline |
Asynchronous getter for the remote object property Transport
of type uint
.
The transport type for the stream endpoint. This can be different from the transport of the Stream in the case where of falling back from ICE to Raw_UDP.
|
inline |
Asynchronous getter for the remote object property Controlling
of type bool
.
The local side is taking the controlling role (as defined by ICE RFC 5245). Change notification is given via the ControllingChanged() signal.
|
inline |
Asynchronous getter for the remote object property IsICELite
of type bool
.
The Remote side is an ICE Lite endpoint. (The local side is assumed to always be an ICE Full implementation.)
|
inline |
Request all of the DBus properties on the interface.
|
inlineslot |
Begins a call to the D-Bus method SetSelectedCandidatePair
on the remote object.
Update the entry in SelectedCandidatePairs for a particular component, and signal it to the remote side.
This method should only be called by the controlling side of an ICE session. See CandidatePairSelected() for details.
In the SDP offer/answer model, this signalling will take place as generating an updated offer. Note that updates may be queued up until information about all components of all streams is gathered.
Note that timeout is ignored as of now. It will be used once http://bugreports.qt.nokia.com/browse/QTBUG-11775 is fixed.
localCandidate | The local candidate that has been selected. |
remoteCandidate | The remote candidate that has been selected. |
timeout | The timeout in milliseconds. |
|
inlineslot |
Begins a call to the D-Bus method SetEndpointState
on the remote object.
Change the EndpointState of the endpoint.
Note that timeout is ignored as of now. It will be used once http://bugreports.qt.nokia.com/browse/QTBUG-11775 is fixed.
component | The component whose state needs updating. |
state | The new state of this component. |
timeout | The timeout in milliseconds. |
|
inlineslot |
Begins a call to the D-Bus method AcceptSelectedCandidatePair
on the remote object.
Called in response to CandidatePairSelected if/when this candidate pair is known to have passed its connectivity checks.
Note that timeout is ignored as of now. It will be used once http://bugreports.qt.nokia.com/browse/QTBUG-11775 is fixed.
localCandidate | The local candidate that has been selected. |
remoteCandidate | The remote candidate that has been selected. |
timeout | The timeout in milliseconds. |
|
inlineslot |
Begins a call to the D-Bus method RejectSelectedCandidatePair
on the remote object.
Called in response to CandidatePairSelected if/when this candidate pair is known to have failed its connectivity checks.
Note that timeout is ignored as of now. It will be used once http://bugreports.qt.nokia.com/browse/QTBUG-11775 is fixed.
localCandidate | The local candidate that has been selected. |
remoteCandidate | The remote candidate that has been selected. |
timeout | The timeout in milliseconds. |
|
inlineslot |
Begins a call to the D-Bus method SetControlling
on the remote object.
Set whether the local side is taking the Controlling role. Note that if there are multiple endpoints (e.g. SIP call forking) it may be the case that all endpoints need to have the same controlling/controlled orientation.
Note that timeout is ignored as of now. It will be used once http://bugreports.qt.nokia.com/browse/QTBUG-11775 is fixed.
controlling | The new value of Controlling. |
timeout | The timeout in milliseconds. |
|
signal |
Represents the signal RemoteCredentialsSet
on the remote object.
Emitted when the remote ICE credentials for the endpoint are set. If each candidate has different credentials, then this signal will never be fired.
username | The username set. |
password | The password set. |
|
signal |
Represents the signal RemoteCandidatesAdded
on the remote object.
Emitted when remote candidates are added to the RemoteCandidates property.
candidates | The candidates that were added. |
|
signal |
Represents the signal CandidatePairSelected
on the remote object.
Emitted when a candidate is selected for use in the stream by the controlling side of an ICE session. The controlled side should call AcceptSelectedCandidatePair or RejectSelectedCandidatePair when connectivity checks have either succeeded or failed for this candidate pair. See also: SelectedCandidatePairs.
localCandidate | The local candidate that has been selected. |
remoteCandidate | The remote candidate that has been selected. |
|
signal |
Represents the signal EndpointStateChanged
on the remote object.
Emitted when the EndpointState property changes.
component | The component whose state has changed. |
state | The new state of this component. |
|
signal |
Represents the signal ControllingChanged
on the remote object.
The value of Controlling has changed.
controlling | The new value of Controlling. |
|
protectedvirtual |
Reimplemented from Tp::AbstractInterface.
Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation | Telepathy-Qt 0.9.7 |