|
|
void | forked (int workerId) |
| |
|
void | shutdown () |
| |
Definition at line 12 of file abstractfork.h.
◆ AbstractFork()
| AbstractFork::AbstractFork |
( |
QObject * | parent = nullptr | ) |
|
|
explicit |
◆ continueMaster()
| virtual bool AbstractFork::continueMaster |
( |
int * | exit = nullptr | ) |
|
|
pure virtual |
When in MASTER mode this method is called, it should return true if Server::exec() should continue setting up the listening socked or exit with exit code
Implemented in UnixFork, and WindowsFork.
◆ directoryChanged()
| void AbstractFork::directoryChanged |
( |
const QString & | path | ) |
|
|
protected |
◆ exec()
| virtual int AbstractFork::exec |
( |
bool | lazy, |
|
|
bool | master ) |
|
pure virtual |
Start event loop, it's useful for doing trickery when forking
Implemented in UnixFork, and WindowsFork.
◆ fileChanged()
| void AbstractFork::fileChanged |
( |
const QString & | path | ) |
|
|
protected |
◆ installTouchReload()
| void AbstractFork::installTouchReload |
( |
| ) |
|
◆ killChild()
| virtual void AbstractFork::killChild |
( |
| ) |
|
|
pure virtual |
◆ removeTouchReload()
| void AbstractFork::removeTouchReload |
( |
| ) |
|
◆ restart()
| virtual void AbstractFork::restart |
( |
| ) |
|
|
pure virtual |
Called to restart process when any of the watched paths changes
Implemented in UnixFork, and WindowsFork.
◆ setTouchReload()
| void AbstractFork::setTouchReload |
( |
const QStringList & | paths | ) |
|
◆ terminateChild()
| virtual void AbstractFork::terminateChild |
( |
| ) |
|
|
pure virtual |