mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
16 lines
326 B
C++
16 lines
326 B
C++
#include <string>
|
|
#include "Interface/Thread.h"
|
|
|
|
class CLoadbalancerClient : public IThread
|
|
{
|
|
public:
|
|
CLoadbalancerClient(std::string pLB, unsigned short pLBPort, int pWeight, unsigned short pServerport);
|
|
void operator()(void);
|
|
|
|
private:
|
|
std::string lb;
|
|
unsigned short lbport;
|
|
int weight;
|
|
unsigned short serverport;
|
|
};
|