mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
19 lines
368 B
C++
19 lines
368 B
C++
#include "../Interface/Thread.h"
|
|
#include "../Interface/Mutex.h"
|
|
|
|
class BackupServerGet;
|
|
|
|
class ServerPingThread : public IThread
|
|
{
|
|
public:
|
|
ServerPingThread(BackupServerGet *pServer_get);
|
|
void operator()(void);
|
|
void setStop(bool b);
|
|
|
|
bool isTimeout(void);
|
|
|
|
private:
|
|
BackupServerGet *server_get;
|
|
volatile bool stop;
|
|
volatile bool is_timeout;
|
|
}; |