KD SOAP: src/KDSoapClient/KDSoapPendingCall.h Source File

| KD SOAP 1.9.1

KDSoapPendingCall.h
1 /****************************************************************************
2 ** Copyright (C) 2010-2020 Klaralvdalens Datakonsult AB, a KDAB Group company, info@kdab.com.
3 ** All rights reserved.
4 **
5 ** This file is part of the KD Soap library.
6 **
7 ** Licensees holding valid commercial KD Soap licenses may use this file in
8 ** accordance with the KD Soap Commercial License Agreement provided with
9 ** the Software.
10 **
11 **
12 ** This file may be distributed and/or modified under the terms of the
13 ** GNU Lesser General Public License version 2.1 and version 3 as published by the
14 ** Free Software Foundation and appearing in the file LICENSE.LGPL.txt included.
15 **
16 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
17 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18 **
19 ** Contact info@kdab.com if any conditions of this licensing are not
20 ** clear to you.
21 **
22 **********************************************************************/
23 #ifndef KDSOAPPENDINGCALL_H
24 #define KDSOAPPENDINGCALL_H
25
26 #include <QtCore/QExplicitlySharedDataPointer>
27 #include "KDSoapMessage.h"
28 QT_BEGIN_NAMESPACE
29 class QNetworkReply;
30 class QBuffer;
31 QT_END_NAMESPACE
32 class KDSoapPendingCallWatcher;
33
51 class KDSOAP_EXPORT KDSoapPendingCall
52 {
53 public:
58 KDSoapPendingCall(const KDSoapPendingCall &other);
59
65 ~KDSoapPendingCall();
66
76 KDSoapPendingCall &operator=(const KDSoapPendingCall &other);
77
82 KDSoapMessage returnMessage() const;
83
88 QVariant returnValue() const;
89
93 KDSoapHeaders returnHeaders() const;
94
107 bool isFinished() const;
108
109 private:
110 friend class KDSoapClientInterface;
111 friend class KDSoapThreadTask;
112 KDSoapPendingCall(QNetworkReply *reply, QBuffer *buffer);
113
114 friend class KDSoapPendingCallWatcher; // for connecting to d->reply
115
116 class Private;
117 QExplicitlySharedDataPointer<Private> d;
118 };
119
120 #endif // KDSOAPPENDINGCALL_H
KDSoapHeaders
Definition: KDSoapMessage.h:196
KDSoapPendingCallWatcher
Definition: KDSoapPendingCallWatcher.h:49
KDSoapClientInterface
Definition: KDSoapClientInterface.h:64
KDSoapMessage
Definition: KDSoapMessage.h:42
KDSoapPendingCall
Definition: KDSoapPendingCall.h:52

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/