KD SOAP API Documentation 2.2
Loading...
Searching...
No Matches
KDSoapThreadPool.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 KDSOAPTHREADPOOL_H
11#define KDSOAPTHREADPOOL_H
12
13#include "KDSoapServerGlobal.h"
14#include <QtCore/QHash>
15#include <QtCore/QObject>
16class KDSoapServer;
17
27{
28 Q_OBJECT
29public:
33 explicit KDSoapThreadPool(QObject *parent = 0);
34
39
46 void setMaxThreadCount(int maxThreadCount);
47
51 int maxThreadCount() const;
52
56 int numConnectedSockets(const KDSoapServer *server) const;
57
63 int totalConnectionCount(const KDSoapServer *server) const;
64
69 void resetTotalConnectionCount(const KDSoapServer *server);
70
74 void disconnectSockets(KDSoapServer *server);
75
76private:
77 friend class KDSoapServer;
78 void handleIncomingConnection(int socketDescriptor, KDSoapServer *server);
79 class Private;
80 Private *const d;
81};
82
83#endif // KDSOAPTHREADPOOL_H
#define KDSOAPSERVER_EXPORT

© 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