|
void | server_status_changed (bool st) |
|
void | timer_alert () |
|
void | server_shutdown () |
|
void | server_finished () |
|
void | server_ready_destroyed () |
|
|
| TimerHandleServer (const QString &name, const ServerRunner &runner, const int timer_interval, QObject *parent=nullptr) |
|
| TimerHandleServer (QString &&name, ServerRunner &&runner, const int timer_interval, QObject *parent=nullptr) |
|
| Q_DISABLE_COPY (TimerHandleServer) |
|
void | setAsRunOnce (bool ifSelfDeleted=true) |
| setAsRunOnce set the timer handle sever running once only
|
|
void | resetServer () |
| resetServer reset the server to the plain type
|
|
const TimerServerProperty | serverProperty () const noexcept |
|
void | setState (bool should_run) |
| setState
|
|
void | adjust_timer_interval (const int new_interval, bool request_immediate=true) |
| adjust_timer_interval
|
|
void | quit_self () |
|
void | restart_timer () |
| restart_timer will reset the count of timer to the cnt 0, which can be using in time resets
|
|
const ServerID | id () const noexcept |
|
const QString | server_name () const noexcept |
|
◆ adjust_timer_interval()
void TimerHandleServer::adjust_timer_interval |
( |
const int |
new_interval, |
|
|
bool |
request_immediate = true |
|
) |
| |
adjust_timer_interval
- Parameters
-
new_interval | |
request_immediate | request these or next session |
◆ setAsRunOnce()
void TimerHandleServer::setAsRunOnce |
( |
bool |
ifSelfDeleted = true | ) |
|
setAsRunOnce set the timer handle sever running once only
- Parameters
-
ifSelfDeleted | if true, after call the server will destroy himself and dead |
◆ setState()
void TimerHandleServer::setState |
( |
bool |
should_run | ) |
|
setState
- Parameters
-
should_run | set the status of should we run session |
The documentation for this class was generated from the following files: