KD SOAP  2.0.0
KDSoapUdpClient_p.h
1 /****************************************************************************
2 **
3 ** This file is part of the KD Soap library.
4 **
5 ** SPDX-FileCopyrightText: 2019-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 
17 #ifndef KDSOAPUDPCLIENT_P_H
18 #define KDSOAPUDPCLIENT_P_H
19 
20 #include <QObject>
21 #include <QUdpSocket>
22 
23 #include "KDSoapUdpClient.h"
24 
25 class KDSoapUdpClientPrivate : public QObject
26 {
27  Q_OBJECT
28 public:
29  explicit KDSoapUdpClientPrivate(KDSoapUdpClient *q)
30  : socketIPv4(0)
31  , socketIPv6(0)
32  , q_ptr(q)
33  {
34  }
35 
36  void receivedDatagram(const QByteArray &messageData, const QHostAddress &senderAddress, quint16 senderPort);
37 
38 public Q_SLOTS:
39  void readyRead();
40 
41 public:
42  QUdpSocket *socketIPv4;
43  QUdpSocket *socketIPv6;
44  KDSoap::SoapVersion soapVersion = KDSoap::SOAP1_2;
45 
46 private:
47  KDSoapUdpClient *const q_ptr;
48  Q_DECLARE_PUBLIC(KDSoapUdpClient)
49 };
50 
51 #endif // KDSOAPUDPCLIENT_P_H
QObject::Q_OBJECT
Q_OBJECTQ_OBJECT
QObject::Q_SLOTS
Q_SLOTSQ_SLOTS
QObject
KDSoapUdpClient
KDSoapUdpClient provides an interface for implementing a SOAP-over-UDP client.
Definition: KDSoapUdpClient.h:77
QByteArray

© 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