KD SOAP API Documentation 2.2
Loading...
Searching...
No Matches
KDSoapUdpClient.h
Go to the documentation of this file.
1/****************************************************************************
2**
3** This file is part of the KD Soap project.
4**
5** SPDX-FileCopyrightText: 2020 Klarälvdalens Datakonsult AB, a KDAB Group company <info@kdab.com>
6**
7** SPDX-License-Identifier: MIT
8**
9****************************************************************************/
10
11#ifndef KDSOAPUDPCLIENT_H
12#define KDSOAPUDPCLIENT_H
13
15#include "KDSoapGlobal.h"
16
17#include <QAbstractSocket>
18#include <QObject>
19
20class KDSoapHeaders;
21class KDSoapMessage;
24class QHostAddress;
25QT_END_NAMESPACE
26
71{
72 Q_OBJECT
73
74public:
75 explicit KDSoapUdpClient(QObject *parent = nullptr);
76
78
87 bool bind(quint16 port = 0, QAbstractSocket::BindMode mode = QAbstractSocket::DefaultForPlatform);
93 void setSoapVersion(KDSoap::SoapVersion version);
94
95public Q_SLOTS:
107 bool sendMessage(const KDSoapMessage &message, const KDSoapHeaders &headers, const QHostAddress &address, quint16 port);
108
125 void receivedMessage(const KDSoapMessage &message, const KDSoapHeaders &headers, const QHostAddress &address, quint16 port);
126
127private:
128 KDSoapUdpClientPrivate *const d_ptr;
130};
131
132#endif // KDSOAPUDPCLIENT_H
#define KDSOAP_EXPORT
KDSoapUdpClient provides an interface for implementing a SOAP-over-UDP client.
void receivedMessage(const KDSoapMessage &message, const KDSoapHeaders &headers, const QHostAddress &address, quint16 port)
Q_SIGNALSQ_SIGNALS
Q_SLOTSQ_SLOTS
T qobject_cast(QObject *object)

© 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 Sat Apr 20 2024 00:04:25 for KD SOAP API Documentation by doxygen 1.9.8