KD SOAP: /home/allen/projects/kdsoap/src/KDSoapClient/KDSoapPendingCall.h Source File

| KD SOAP 2.0.0

KDSoapPendingCall.h
1 /****************************************************************************
2 **
3 ** This file is part of the KD Soap library.
4 **
5 ** SPDX-FileCopyrightText: 2010-2021 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6 **
7 ** SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDAB-KDSoap OR LicenseRef-KDAB-KDSoap-US
8 **
9 ** Licensees holding valid commercial KD Soap licenses may use this file in
10 ** accordance with the KD Soap Commercial License Agreement provided with
11 ** the Software.
12 **
13 ** Contact info@kdab.com if any conditions of this licensing are not clear to you.
14 **
15 ****************************************************************************/
16 #ifndef KDSOAPPENDINGCALL_H
17 #define KDSOAPPENDINGCALL_H
18
19 #include <QtCore/QExplicitlySharedDataPointer>
20 #include "KDSoapMessage.h"
21 QT_BEGIN_NAMESPACE
22 class QNetworkReply;
23 class QBuffer;
24 QT_END_NAMESPACE
25 class KDSoapPendingCallWatcher;
26
44 class KDSOAP_EXPORT KDSoapPendingCall
45 {
46 public:
51 KDSoapPendingCall(const KDSoapPendingCall &other);
52
58 ~KDSoapPendingCall();
59
69 KDSoapPendingCall &operator=(const KDSoapPendingCall &other);
70
75 KDSoapMessage returnMessage() const;
76
81 QVariant returnValue() const;
82
86 KDSoapHeaders returnHeaders() const;
87
97 bool isFinished() const;
98
99 private:
100 friend class KDSoapClientInterface;
101 friend class KDSoapThreadTask;
102 KDSoapPendingCall(QNetworkReply *reply, QBuffer *buffer);
103
104 friend class KDSoapPendingCallWatcher; // for connecting to d->reply
105
106 class Private;
107 QExplicitlySharedDataPointer<Private> d;
108 };
109
110 #endif // KDSOAPPENDINGCALL_H
KDSoapHeaders
Definition: KDSoapMessage.h:192
KDSoapPendingCallWatcher
Definition: KDSoapPendingCallWatcher.h:42
KDSoapClientInterface
Definition: KDSoapClientInterface.h:57
QExplicitlySharedDataPointer< Private >
QBuffer
KDSoapMessage
Definition: KDSoapMessage.h:35
KDSoapPendingCall
Definition: KDSoapPendingCall.h:45
QVariant

© 2010-2021 Klarälvdalens Datakonsult AB (KDAB)
"The Qt, C++ and OpenGL Experts"
https://www.kdab.com/
https://www.kdab.com/development-resources/qt-tools/kd-soap/
Generated on Wed Jun 30 2021 18:19:27 for KD SOAP by doxygen 1.8.20