16 #ifndef KDSOAPSERVERTHREAD_P_H
17 #define KDSOAPSERVERTHREAD_P_H
24 class KDSoapSocketList;
26 class KDSoapServerThreadImpl :
public QObject
30 KDSoapServerThreadImpl();
31 ~KDSoapServerThreadImpl();
34 void handleIncomingConnection(
int socketDescriptor,
KDSoapServer *server);
41 int totalConnectionCountForServer(
const KDSoapServer *server);
42 void resetTotalConnectionCountForServer(
const KDSoapServer *server);
44 void addIncomingConnection();
48 KDSoapSocketList *socketListForServer(
KDSoapServer *server);
50 SocketLists m_socketLists;
55 class KDSoapServerThread :
public QThread
59 explicit KDSoapServerThread(
QObject *parent = 0);
60 ~KDSoapServerThread();
65 int socketCount()
const;
66 int socketCountForServer(
const KDSoapServer *server)
const;
67 int totalConnectionCountForServer(
const KDSoapServer *server)
const;
68 void resetTotalConnectionCountForServer(
const KDSoapServer *server);
71 void handleIncomingConnection(
int socketDescriptor,
KDSoapServer *server);
74 virtual void run()
override;
79 KDSoapServerThreadImpl *d;
83 #endif // KDSOAPSERVERTHREAD_P_H