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