#include <tapplicationserverbase.h>
The TApplicationServerBase class provides functionality common to an web application server.
◆ OpenFlag
| Enumerator |
|---|
| CloseOnExec | |
| NonCloseOnExec | |
◆ ~TApplicationServerBase()
| TApplicationServerBase::~TApplicationServerBase |
( |
| ) |
|
|
virtual |
◆ duplicateSocket()
| int TApplicationServerBase::duplicateSocket |
( |
int |
socketDescriptor | ) |
|
|
static |
◆ getPeerInfo()
| QPair< QHostAddress, uint16_t > TApplicationServerBase::getPeerInfo |
( |
int |
socketDescriptor | ) |
|
|
static |
◆ invokeStaticInitialize()
| void TApplicationServerBase::invokeStaticInitialize |
( |
| ) |
|
|
static |
◆ invokeStaticRelease()
| void TApplicationServerBase::invokeStaticRelease |
( |
| ) |
|
|
static |
◆ isAutoReloadingEnabled()
| virtual bool TApplicationServerBase::isAutoReloadingEnabled |
( |
| ) |
|
|
inlinevirtual |
◆ latestLibraryTimestamp()
| QDateTime TApplicationServerBase::latestLibraryTimestamp |
( |
| ) |
|
|
static |
◆ loadLibraries()
| bool TApplicationServerBase::loadLibraries |
( |
| ) |
|
|
static |
◆ nativeClose()
| void TApplicationServerBase::nativeClose |
( |
int |
socket | ) |
|
|
static |
◆ nativeListen() [1/2]
| int TApplicationServerBase::nativeListen |
( |
const QHostAddress & |
address, |
|
|
uint16_t |
port, |
|
|
OpenFlag |
flag = CloseOnExec |
|
) |
| |
|
static |
Listen a port for connections on a socket.
Listen a port with SO_REUSEADDR option.
This function must be called in a tfmanager process.
This function must be called in a tfserver process.
◆ nativeListen() [2/2]
| int TApplicationServerBase::nativeListen |
( |
const QString & |
fileDomain, |
|
|
OpenFlag |
flag = CloseOnExec |
|
) |
| |
|
static |
Listen for connections on UNIX domain.
◆ nativeSocketCleanup()
| void TApplicationServerBase::nativeSocketCleanup |
( |
| ) |
|
|
static |
◆ nativeSocketInit()
| void TApplicationServerBase::nativeSocketInit |
( |
| ) |
|
|
static |
◆ newerLibraryExists()
| bool TApplicationServerBase::newerLibraryExists |
( |
| ) |
|
|
static |
◆ setAutoReloadingEnabled()
| virtual void TApplicationServerBase::setAutoReloadingEnabled |
( |
bool |
| ) |
|
|
inlinevirtual |
◆ start()
| virtual bool TApplicationServerBase::start |
( |
bool |
| ) |
|
|
inlinevirtual |
◆ stop()
| virtual void TApplicationServerBase::stop |
( |
| ) |
|
|
inlinevirtual |
◆ unloadLibraries()
| void TApplicationServerBase::unloadLibraries |
( |
| ) |
|
|
static |
◆ TMultiplexingServer
| friend class TMultiplexingServer |
|
friend |
◆ TThreadApplicationServer
| friend class TThreadApplicationServer |
|
friend |
The documentation for this class was generated from the following files: