KD SOAP API Documentation  2.2
KDSoapUdpClient_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: 2019 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6 **
7 ** SPDX-License-Identifier: MIT
8 **
9 ****************************************************************************/
10 
11 #ifndef KDSOAPUDPCLIENT_P_H
12 #define KDSOAPUDPCLIENT_P_H
13 
14 #include <QObject>
15 #include <QUdpSocket>
16 
17 #include "KDSoapUdpClient.h"
18 
19 class KDSoapUdpClientPrivate : public QObject
20 {
21  Q_OBJECT
22 public:
24  : q_ptr(q)
25  {
26  }
27 
28  void receivedDatagram(const QByteArray &messageData, const QHostAddress &senderAddress, quint16 senderPort);
29 
30 public Q_SLOTS:
31  void readyRead();
32 
33 public:
34  QUdpSocket *socket = nullptr;
36 
37 private:
38  KDSoapUdpClient *const q_ptr;
39  Q_DECLARE_PUBLIC(KDSoapUdpClient)
40 };
41 
42 #endif // KDSOAPUDPCLIENT_P_H
KDSoap::SoapVersion soapVersion
void receivedDatagram(const QByteArray &messageData, const QHostAddress &senderAddress, quint16 senderPort)
KDSoapUdpClientPrivate(KDSoapUdpClient *q)
KDSoapUdpClient provides an interface for implementing a SOAP-over-UDP client.
@ SOAP1_2
Definition: KDSoapValue.h:44

© 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 by doxygen 1.9.1