KD SOAP  1.10.0
KDSoapPendingCall.h
1 /****************************************************************************
2 **
3 ** This file is part of the KD Soap library.
4 **
5 ** SPDX-FileCopyrightText: 2010-2020 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
26 
44 class KDSOAP_EXPORT KDSoapPendingCall
45 {
46 public:
52 
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
Definition: KDSoapPendingCallWatcher.h:41
Definition: KDSoapPendingCall.h:44
Definition: KDSoapMessage.h:188
Definition: KDSoapMessage.h:34
Definition: KDSoapClientInterface.h:56

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/