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