KD SOAP API Documentation: KDSoapPendingCall_p.h Source File

| KD SOAP API Documentation 2.2

Loading...
Searching...
No Matches
KDSoapPendingCall_p.h
Go to the documentation of this file.
1/****************************************************************************
2**
3** This file is part of the KD Soap project.
4**
5** SPDX-FileCopyrightText: 2010 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6**
7** SPDX-License-Identifier: MIT
8**
9****************************************************************************/
10#ifndef KDSOAPPENDINGCALL_P_H
11#define KDSOAPPENDINGCALL_P_H
12
13#include "KDSoapClientInterface.h"
14#include "KDSoapMessage.h"
15#include <QBuffer>
16#include <QNetworkReply>
17#include <QPointer>
18#include <QSharedData>
19#include <QXmlStreamReader>
20
21class KDSoapValue;
22
23void maybeDebugRequest(const QByteArray &data, const QNetworkRequest &request, QNetworkReply *reply);
24
25 class KDSoapPendingCall::Private : public QSharedData
26{
27public:
28 Private(QNetworkReply *r, QBuffer *b)
29 : reply(r)
30 , buffer(b)
31 , soapVersion(KDSoap::SOAP1_1)
32 , parsed(false)
33 {
34 }
35 ~Private();
36
37 void parseReply();
38 KDSoapValue parseReplyElement(QXmlStreamReader &reader);
39
40 // Can be deleted under us if the KDSoapClientInterface (and its QNetworkAccessManager)
41 // are deleted before the KDSoapPendingCall.
42 QPointer<QNetworkReply> reply;
43 QBuffer *buffer;
44 KDSoapMessage replyMessage;
45 KDSoapHeaders replyHeaders;
46 KDSoap::SoapVersion soapVersion;
47 bool parsed;
48};
49
50#endif // KDSOAPPENDINGCALL_P_H
KDSoapClientInterface.h
KDSoapMessage.h
maybeDebugRequest
void maybeDebugRequest(const QByteArray &data, const QNetworkRequest &request, QNetworkReply *reply)
Definition KDSoapPendingCall.cpp:81
KDSoapHeaders
Definition KDSoapMessage.h:185
KDSoapMessage
Definition KDSoapMessage.h:29
KDSoapPendingCall::Private
Definition KDSoapPendingCall_p.h:26
KDSoapPendingCall::Private::reply
QPointer< QNetworkReply > reply
Definition KDSoapPendingCall_p.h:42
KDSoapPendingCall::Private::parseReplyElement
KDSoapValue parseReplyElement(QXmlStreamReader &reader)
KDSoapPendingCall::Private::Private
Private(QNetworkReply *r, QBuffer *b)
Definition KDSoapPendingCall_p.h:28
KDSoapPendingCall::Private::replyHeaders
KDSoapHeaders replyHeaders
Definition KDSoapPendingCall_p.h:45
KDSoapPendingCall::Private::parsed
bool parsed
Definition KDSoapPendingCall_p.h:47
KDSoapPendingCall::Private::~Private
~Private()
Definition KDSoapPendingCall.cpp:122
KDSoapPendingCall::Private::replyMessage
KDSoapMessage replyMessage
Definition KDSoapPendingCall_p.h:44
KDSoapPendingCall::Private::buffer
QBuffer * buffer
Definition KDSoapPendingCall_p.h:43
KDSoapPendingCall::Private::parseReply
void parseReply()
Definition KDSoapPendingCall.cpp:179
KDSoapPendingCall::Private::soapVersion
KDSoap::SoapVersion soapVersion
Definition KDSoapPendingCall_p.h:46
KDSoapValue
Definition KDSoapValue.h:60
KDSoap
Definition KDSoapValue.h:33
KDSoap::SoapVersion
SoapVersion
Definition KDSoapValue.h:40
QBuffer
QByteArray
QNetworkReply
QNetworkRequest
QPointer
QSharedData
QXmlStreamReader

© 2010-2024 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 Sun Jan 7 2024 11:47:36 for KD SOAP API Documentation by doxygen 1.9.8