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> 58 Q_DECLARE_FLAGS(Features,
Feature)
64 void setFeatures(Features features);
69 Features features() const;
91 void setPath(const QString &path);
104 QString endPoint() const;
115 virtual QObject *createServerObject() = 0;
129 enum LogLevel { LogNothing, LogFaults, LogEveryCall };
142 void setLogLevel(LogLevel level);
146 LogLevel logLevel()
const;
153 void setLogFileName(
const QString &fileName);
158 QString logFileName()
const;
178 void setMaxConnections(
int sockets);
185 int maxConnections()
const;
195 static bool setExpectedSocketCount(
int sockets);
204 int numConnectedSockets()
const;
211 int totalConnectionCount()
const;
217 void resetTotalConnectionCount();
225 void setWsdlFile(
const QString &file,
const QString &pathInUrl);
230 QString wsdlFile()
const;
235 QString wsdlPathInUrl()
const;
241 QSslConfiguration sslConfiguration()
const;
247 void setSslConfiguration(
const QSslConfiguration &config);
267 void connectionRejected();
270 #if QT_VERSION >= QT_VERSION_CHECK(5,0,0) 271 void incomingConnection(qintptr socketDescriptor)
override;
273 void incomingConnection(
int socketDescriptor)
override;
277 friend class KDSoapServerSocket;
278 void log(
const QByteArray &text);
Definition: KDSoapServer.h:35
Definition: KDSoapMessage.h:34
Feature
Definition: KDSoapServer.h:52
Definition: KDSoapThreadPool.h:32