KD SOAP
Main Page
Classes
Files
File List
All
Classes
Functions
Enumerations
Enumerator
Pages
src
KDSoapClient
KDSoapPendingCall.h
1
/****************************************************************************
2
** Copyright (C) 2010-2013 Klaralvdalens Datakonsult AB. All rights reserved.
3
**
4
** This file is part of the KD Soap library.
5
**
6
** Licensees holding valid commercial KD Soap licenses may use this file in
7
** accordance with the KD Soap Commercial License Agreement provided with
8
** the Software.
9
**
10
**
11
** This file may be distributed and/or modified under the terms of the
12
** GNU Lesser General Public License version 2 and version 3 as published by the
13
** Free Software Foundation and appearing in the file LICENSE.LGPL.txt included.
14
**
15
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
16
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17
**
18
** Contact info@kdab.com if any conditions of this licensing are not
19
** clear to you.
20
**
21
**********************************************************************/
22
#ifndef KDSOAPPENDINGCALL_H
23
#define KDSOAPPENDINGCALL_H
24
25
#include <QtCore/QExplicitlySharedDataPointer>
26
#include "KDSoapMessage.h"
27
QT_BEGIN_NAMESPACE
28
class
QNetworkReply;
29
class
QBuffer;
30
QT_END_NAMESPACE
31
class
KDSoapPendingCallWatcher
;
32
50
class
KDSOAP_EXPORT
KDSoapPendingCall
51
{
52
public
:
57
KDSoapPendingCall
(
const
KDSoapPendingCall
&other);
58
64
~
KDSoapPendingCall
();
65
75
KDSoapPendingCall
&operator=(
const
KDSoapPendingCall
&other);
76
81
KDSoapMessage
returnMessage()
const
;
82
87
QVariant returnValue()
const
;
88
92
KDSoapHeaders
returnHeaders()
const
;
93
106
bool
isFinished()
const
;
107
108
private
:
109
friend
class
KDSoapClientInterface
;
110
friend
class
KDSoapThreadTask;
111
KDSoapPendingCall
(QNetworkReply* reply, QBuffer* buffer);
112
113
friend
class
KDSoapPendingCallWatcher
;
// for connecting to d->reply
114
115
class
Private;
116
QExplicitlySharedDataPointer<Private> d;
117
};
118
119
#endif // KDSOAPPENDINGCALL_H
Klarälvdalens Datakonsult AB (KDAB)
Qt-related services and products
http://www.kdab.com/
http://www.kdab.com/products/kd-soap/