|
static void | deinstantiate () |
|
static Refresher * | instance () |
|
static bool | isInstantiated () |
|
Definition at line 35 of file refresher.h.
void Refresher::block |
( |
| ) |
|
|
signal |
Emitted when a master client of non-custom server is registered.
This will set bKeepRunning to false which will tell the refreshing thread to exit gracefully.
Definition at line 255 of file refresher.cpp.
Registers a new master server to be queried. All masters are stored in a hash table, therefore it's impossible to register the same object twice.
Definition at line 260 of file refresher.cpp.
bool Refresher::registerServer |
( |
Server * |
server | ) |
|
Registers a new server to be queried. All servers are stored in a hash table, therefore it's impossible to register the same object twice.
- Returns
- true if server was registered, false if it couldn't be refreshed at the moment.
Definition at line 283 of file refresher.cpp.
void Refresher::setDelayBetweenResends |
( |
int |
delay | ) |
|
Sets delay between subsequent queries send to the servers. default value is 1000. Minimum value is 100.
Definition at line 377 of file refresher.cpp.
void Refresher::sleepingModeEnter |
( |
| ) |
|
|
signal |
Emitted when refreshing thread doesn't have anything more to do and goes into sleeping mode.
void Refresher::sleepingModeExit |
( |
| ) |
|
|
signal |
Emitted when refreshing thread wakes up from sleeping mode and begins refreshing work.
The documentation for this class was generated from the following files: