weightedload (306B)
1 #ifndef _WEIGHTEDLOAD_ 2 #define _WEIGHTEDLOAD_ 3 4 #include "sys/sys" 5 #include "error/error" 6 #include "balancer/balancer" 7 #include "DispatchAlgorithms/algorithm/algorithm" 8 9 class Weightedload: public Algorithm { 10 public: 11 unsigned target(struct in_addr clientip, 12 BackendVector &targetlist); 13 }; 14 15 #endif