16 #ifndef KDSOAPSERVER_H
17 #define KDSOAPSERVER_H
19 #include "KDSoapServerGlobal.h"
20 #include <KDSoapClient/KDSoapMessage.h>
21 #include <QtNetwork/QTcpServer>
22 #include <QtNetwork/QSslConfiguration>
59 Q_DECLARE_FLAGS(Features, Feature)
65 void setFeatures(Features features);
70 Features features()
const;
92 void setPath(
const QString &path);
148 void setLogLevel(LogLevel level);
152 LogLevel logLevel()
const;
159 void setLogFileName(
const QString &fileName);
184 void setMaxConnections(
int sockets);
191 int maxConnections()
const;
201 static bool setExpectedSocketCount(
int sockets);
210 int numConnectedSockets()
const;
217 int totalConnectionCount()
const;
223 void resetTotalConnectionCount();
247 QSslConfiguration sslConfiguration()
const;
253 void setSslConfiguration(
const QSslConfiguration &config);
275 protected:
void incomingConnection(qintptr socketDescriptor)
override;
279 friend class KDSoapServerSocket;