X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Frouter_chain.cpp;h=959007b478f57bbd0563b6f160a37941ca0107b8;hb=74d5524719194de5dc96abd552562fa473088677;hp=2ab2924fd58351ce40f54a268c4573821c396cff;hpb=31977dc8d6996d2de009d62739ee5f688ba77504;p=metaproxy-moved-to-github.git diff --git a/src/router_chain.cpp b/src/router_chain.cpp index 2ab2924..959007b 100644 --- a/src/router_chain.cpp +++ b/src/router_chain.cpp @@ -17,6 +17,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ #include "router_chain.hpp" +#include #include @@ -49,6 +50,14 @@ mp::RouterChain::~RouterChain() { } +void mp::RouterChain::start() +{ + std::list::const_iterator it; + + for (it = m_p->m_filter_list.begin(); it != m_p->m_filter_list.end(); it++) + (*it)->start(); +} + const mp::filter::Base *mp::RouterChain::Pos::move(const char *route) { if (it == m_p->m_filter_list.end())