crossroads

Git mirror of https://crossroads.e-tunity.com/
git clone git://git.finwo.net/app/crossroads
Log | Files | Refs | LICENSE

leastconn (324B)


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