#ifndef _LEASTCONN_
#define _LEASTCONN_

#include "sys/sys"
#include "error/error"
#include "balancer/balancer"
#include "DispatchAlgorithms/algorithm/algorithm"
#include "ipstore/ipstore"

class Leastconn: public Algorithm {
public:
    unsigned target(struct in_addr clientip,
		    BackendVector const &targetlist);
};

#endif
