KD SOAP API Documentation
2.2
Loading...
Searching...
No Matches
source
src
KDSoapClient
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
14
#include "
KDSoapClientInterface.h
"
15
#include "
KDSoapGlobal.h
"
16
17
#include <QAbstractSocket>
18
#include <QObject>
19
20
class
KDSoapHeaders
;
21
class
KDSoapMessage
;
22
class
KDSoapUdpClientPrivate
;
23
QT_BEGIN_NAMESPACE
24
class
QHostAddress
;
25
QT_END_NAMESPACE
26
70
class
KDSOAP_EXPORT
KDSoapUdpClient
:
public
QObject
71
{
72
Q_OBJECT
73
74
public
:
75
explicit
KDSoapUdpClient
(
QObject
*parent =
nullptr
);
76
77
~KDSoapUdpClient
();
78
87
bool
bind(quint16 port = 0,
QAbstractSocket::BindMode
mode =
QAbstractSocket::DefaultForPlatform
);
93
void
setSoapVersion(
KDSoap::SoapVersion
version);
94
95
public
Q_SLOTS
:
107
bool
sendMessage(
const
KDSoapMessage
&message,
const
KDSoapHeaders
&headers,
const
QHostAddress
&address, quint16 port);
108
109
Q_SIGNALS
:
125
void
receivedMessage
(
const
KDSoapMessage
&message,
const
KDSoapHeaders
&headers,
const
QHostAddress
&address, quint16 port);
126
127
private
:
128
KDSoapUdpClientPrivate
*
const
d_ptr;
129
Q_DECLARE_PRIVATE
(
KDSoapUdpClient
)
130
};
131
132
#endif
// KDSOAPUDPCLIENT_H
KDSoapClientInterface.h
KDSoapGlobal.h
KDSOAP_EXPORT
#define KDSOAP_EXPORT
Definition
KDSoapGlobal.h:22
KDSoapHeaders
Definition
KDSoapMessage.h:185
KDSoapMessage
Definition
KDSoapMessage.h:29
KDSoapUdpClientPrivate
Definition
KDSoapUdpClient_p.h:20
KDSoapUdpClient
KDSoapUdpClient provides an interface for implementing a SOAP-over-UDP client.
Definition
KDSoapUdpClient.h:71
KDSoapUdpClient::receivedMessage
void receivedMessage(const KDSoapMessage &message, const KDSoapHeaders &headers, const QHostAddress &address, quint16 port)
KDSoap::SoapVersion
SoapVersion
Definition
KDSoapValue.h:40
QAbstractSocket::BindMode
typedef BindMode
QHostAddress
QObject
QObject::Q_SIGNALS
Q_SIGNALSQ_SIGNALS
QObject::Q_SLOTS
Q_SLOTSQ_SLOTS
QObject::qobject_cast
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