cli-media-stream-handler-body.hpp Source File

| Home · All Classes · All Namespaces · Modules · Functions · Files

cli-media-stream-handler-body.hpp
1 #define IN_TP_QT_HEADER
2 #include "TelepathyQt/media-stream-handler.h"
3
4 namespace Tp
5 {
6 namespace Client
7 {
8
9 MediaStreamHandlerInterface::MediaStreamHandlerInterface(const QString& busName, const QString& objectPath, QObject *parent)
10 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), QDBusConnection::sessionBus(), parent)
11 {
12 }
13
14 MediaStreamHandlerInterface::MediaStreamHandlerInterface(const QDBusConnection& connection, const QString& busName, const QString& objectPath, QObject *parent)
15 : Tp::AbstractInterface(busName, objectPath, staticInterfaceName(), connection, parent)
16 {
17 }
18
19 MediaStreamHandlerInterface::MediaStreamHandlerInterface(Tp::DBusProxy *proxy)
20 : Tp::AbstractInterface(proxy, staticInterfaceName())
21 {
22 }
23
24 void MediaStreamHandlerInterface::invalidate(Tp::DBusProxy *proxy,
25 const QString &error, const QString &message)
26 {
27 disconnect(this, SIGNAL(AddRemoteCandidate(const QString&, const Tp::MediaStreamHandlerTransportList&)), NULL, NULL);
28 disconnect(this, SIGNAL(Close()), NULL, NULL);
29 disconnect(this, SIGNAL(RemoveRemoteCandidate(const QString&)), NULL, NULL);
30 disconnect(this, SIGNAL(SetActiveCandidatePair(const QString&, const QString&)), NULL, NULL);
31 disconnect(this, SIGNAL(SetRemoteCandidateList(const Tp::MediaStreamHandlerCandidateList&)), NULL, NULL);
32 disconnect(this, SIGNAL(SetRemoteCodecs(const Tp::MediaStreamHandlerCodecList&)), NULL, NULL);
33 disconnect(this, SIGNAL(SetStreamPlaying(bool)), NULL, NULL);
34 disconnect(this, SIGNAL(SetStreamSending(bool)), NULL, NULL);
35 disconnect(this, SIGNAL(StartTelephonyEvent(uchar)), NULL, NULL);
36 disconnect(this, SIGNAL(StartNamedTelephonyEvent(uchar, uint)), NULL, NULL);
37 disconnect(this, SIGNAL(StartSoundTelephonyEvent(uchar)), NULL, NULL);
38 disconnect(this, SIGNAL(StopTelephonyEvent()), NULL, NULL);
39 disconnect(this, SIGNAL(SetStreamHeld(bool)), NULL, NULL);
40 disconnect(this, SIGNAL(SetRemoteFeedbackMessages(const Tp::RTCPFeedbackMessageMap&)), NULL, NULL);
41 disconnect(this, SIGNAL(SetRemoteHeaderExtensions(const Tp::RTPHeaderExtensionsList&)), NULL, NULL);
42
43 Tp::AbstractInterface::invalidate(proxy, error, message);
44 }
45 }
46 }
Tp::RTPHeaderExtensionsList
QList< RTPHeaderExtension > RTPHeaderExtensionsList
Definition: build/TelepathyQt/_gen/types.h:2506
Tp::Client::MediaStreamHandlerInterface::SetRemoteCandidateList
void SetRemoteCandidateList(const Tp::MediaStreamHandlerCandidateList &remoteCandidates)
Tp::Client::MediaStreamHandlerInterface::StartSoundTelephonyEvent
void StartSoundTelephonyEvent(uchar event)
Tp::DBusProxy
The DBusProxy class is a base class representing a remote object available over D-Bus.
Definition: dbus-proxy.h:42
Tp::Client::MediaStreamHandlerInterface::SetStreamPlaying
void SetStreamPlaying(bool playing)
Tp::Client::MediaStreamHandlerInterface::AddRemoteCandidate
void AddRemoteCandidate(const QString &candidateID, const Tp::MediaStreamHandlerTransportList &transports)
Tp::Client::MediaStreamHandlerInterface::RemoveRemoteCandidate
void RemoveRemoteCandidate(const QString &candidateID)
Tp::Client::MediaStreamHandlerInterface::SetStreamHeld
void SetStreamHeld(bool held)
Tp::MediaStreamHandlerTransportList
QList< MediaStreamHandlerTransport > MediaStreamHandlerTransportList
Definition: build/TelepathyQt/_gen/types.h:1970
Tp::Client::MediaStreamHandlerInterface::StartTelephonyEvent
void StartTelephonyEvent(uchar event)
Tp::AbstractInterface
The AbstractInterface class is the base class for all client side D-Bus interfaces, allowing access to remote methods/properties/signals.
Definition: abstract-interface.h:42
Tp::Client::MediaStreamHandlerInterface::SetRemoteFeedbackMessages
void SetRemoteFeedbackMessages(const Tp::RTCPFeedbackMessageMap &messages)
Tp::Client::MediaStreamHandlerInterface::invalidate
virtual void invalidate(Tp::DBusProxy *, const QString &, const QString &)
Definition: cli-media-stream-handler-body.hpp:24
Tp::RTCPFeedbackMessageMap
Definition: build/TelepathyQt/_gen/types.h:3939
Tp::MediaStreamHandlerCandidateList
QList< MediaStreamHandlerCandidate > MediaStreamHandlerCandidateList
Definition: build/TelepathyQt/_gen/types.h:3662
Tp::Client::MediaStreamHandlerInterface::SetRemoteHeaderExtensions
void SetRemoteHeaderExtensions(const Tp::RTPHeaderExtensionsList &headerExtensions)
Tp::AbstractInterface::invalidate
virtual void invalidate(Tp::DBusProxy *proxy, const QString &error, const QString &message)
Definition: abstract-interface.cpp:101
Tp::Client::MediaStreamHandlerInterface::SetActiveCandidatePair
void SetActiveCandidatePair(const QString &nativeCandidateID, const QString &remoteCandidateID)
Tp::Client::MediaStreamHandlerInterface::SetRemoteCodecs
void SetRemoteCodecs(const Tp::MediaStreamHandlerCodecList &codecs)
Tp::Client::MediaStreamHandlerInterface::StopTelephonyEvent
void StopTelephonyEvent()
Tp::Client::MediaStreamHandlerInterface::Close
void Close()
Tp::Client::MediaStreamHandlerInterface::MediaStreamHandlerInterface
MediaStreamHandlerInterface(const QString &busName, const QString &objectPath, QObject *parent=0)
Definition: cli-media-stream-handler-body.hpp:9
Tp::Client::MediaStreamHandlerInterface::StartNamedTelephonyEvent
void StartNamedTelephonyEvent(uchar event, uint codecID)
Tp::Client::MediaStreamHandlerInterface::SetStreamSending
void SetStreamSending(bool sending)
Tp::MediaStreamHandlerCodecList
QList< MediaStreamHandlerCodec > MediaStreamHandlerCodecList
Definition: build/TelepathyQt/_gen/types.h:3715