1 /* $Id: filter_load_balance.hpp,v 1.4 2008-02-20 15:07:52 adam Exp $
2 Copyright (c) 2005-2007, Index Data.
4 This file is part of Metaproxy.
6 Metaproxy is free software; you can redistribute it and/or modify it under
7 the terms of the GNU General Public License as published by the Free
8 Software Foundation; either version 2, or (at your option) any later
11 Metaproxy is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
16 You should have received a copy of the GNU General Public License
17 along with Metaproxy; see the file LICENSE. If not, write to the
18 Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
22 // Filter that does nothing. Use as load_balance for new filters
23 #ifndef FILTER_LOAD_BALANCE_HPP
24 #define FILTER_LOAD_BALANCE_HPP
26 #include <boost/scoped_ptr.hpp>
30 namespace metaproxy_1 {
32 class LoadBalance : public Base {
34 boost::scoped_ptr<Impl> m_p;
38 void process(metaproxy_1::Package & package) const;
39 void configure(const xmlNode * ptr, bool test_only);
45 extern struct metaproxy_1_filter_struct metaproxy_1_filter_load_balance;
52 * indent-tabs-mode: nil
53 * c-file-style: "stroustrup"
55 * vim: shiftwidth=4 tabstop=8 expandtab