Report RLIMIT_NOFILE MP-631
[metaproxy-moved-to-github.git] / src / filter_frontend_net.hpp
index 814b886..5af4d7c 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of Metaproxy.
-   Copyright (C) 2005-2012 Index Data
+   Copyright (C) Index Data
 
 Metaproxy is free software; you can redistribute it and/or modify it under
 the terms of the GNU General Public License as published by the Free
@@ -35,7 +35,6 @@ namespace metaproxy_1 {
             class ZAssocChild;
             class ThreadPoolPackage;
             class My_Timer_Thread;
-            class ThreadPoolPackage;
             boost::scoped_ptr<Rep> m_p;
         public:
             FrontendNet();
@@ -43,7 +42,8 @@ namespace metaproxy_1 {
             void process(metaproxy_1::Package & package) const;
             void configure(const xmlNode * ptr, bool test_only,
                            const char *path);
-            void stop() const;
+            void start() const;
+            void stop(int signo) const;
         public:
             /// set ports
             void set_ports(std::vector<Port> &ports);