|
Wittyshare
0.2
|
Loads the FsDaemon depending on the params passed as args. More...
#include <WsFsDaemonLoader.h>

Public Member Functions | |
| WsFsDaemonLoader (WsGlobalProperties *props, bool daemon=false) | |
| Constructor. More... | |
| ~WsFsDaemonLoader () | |
| destructor More... | |
| int | start () |
| launch the server More... | |
Private Member Functions | |
| int | daemonize () |
| daemonize the server, fork and put it in backgroud More... | |
Private Attributes | |
| bool | m_daemon |
| daemonize or not More... | |
| WsGlobalProperties * | m_props |
| WsFsDaemon * | m_server |
Loads the FsDaemon depending on the params passed as args.
Definition at line 25 of file WsFsDaemonLoader.h.
| WsFsDaemonLoader::WsFsDaemonLoader | ( | WsGlobalProperties * | props, |
| bool | daemon = false |
||
| ) |
Constructor.
| props | the properties used to lauch the server |
| daemon | true if you want to run the server in background |
Definition at line 20 of file WsFsDaemonLoader.cpp.
| WsFsDaemonLoader::~WsFsDaemonLoader | ( | ) |
destructor
Definition at line 26 of file WsFsDaemonLoader.cpp.
|
private |
daemonize the server, fork and put it in backgroud
Definition at line 42 of file WsFsDaemonLoader.cpp.


| int WsFsDaemonLoader::start | ( | ) |
launch the server
Definition at line 32 of file WsFsDaemonLoader.cpp.


|
private |
daemonize or not
Definition at line 56 of file WsFsDaemonLoader.h.
|
private |
Instance of WsGlobalProperties
Definition at line 61 of file WsFsDaemonLoader.h.
|
private |
WsFsDaemon instance
Definition at line 66 of file WsFsDaemonLoader.h.
1.8.6