2 #include <QHostAddress>
14 virtual bool start(
bool) {
return false; }
19 static bool loadLibraries();
20 static void unloadLibraries();
21 static QDateTime latestLibraryTimestamp();
22 static bool newerLibraryExists();
23 static void nativeSocketInit();
24 static void nativeSocketCleanup();
25 static int nativeListen(
const QHostAddress &address, uint16_t port, OpenFlag flag = CloseOnExec);
26 static int nativeListen(
const QString &fileDomain, OpenFlag flag = CloseOnExec);
27 static void nativeClose(
int socket);
28 static QPair<QHostAddress, uint16_t> getPeerInfo(
int socketDescriptor);
29 static int duplicateSocket(
int socketDescriptor);
30 static void invokeStaticInitialize();
31 static void invokeStaticRelease();
36 friend class TThreadApplicationServer;
37 friend class TMultiplexingServer;
The TApplicationServerBase class provides functionality common to an web application server.
Definition: tapplicationserverbase.h:6
virtual bool start(bool)
Definition: tapplicationserverbase.h:14
virtual void stop()
Definition: tapplicationserverbase.h:15
virtual bool isAutoReloadingEnabled()
Definition: tapplicationserverbase.h:17
virtual void setAutoReloadingEnabled(bool)
Definition: tapplicationserverbase.h:16
OpenFlag
Definition: tapplicationserverbase.h:8
@ NonCloseOnExec
Definition: tapplicationserverbase.h:10
#define T_CORE_EXPORT
Definition: tdeclexport.h:28
#define T_DISABLE_COPY(Class)
Definition: tdeclexport.h:37
#define T_DISABLE_MOVE(Class)
Definition: tdeclexport.h:41