std::string type() function taken out of all filter classes again
[metaproxy-moved-to-github.git] / src / filter_frontend_net.hpp
1 /* $Id: filter_frontend_net.hpp,v 1.7 2005-10-31 09:40:18 marc Exp $
2    Copyright (c) 2005, Index Data.
3
4 %LICENSE%
5  */
6
7 #ifndef FILTER_FRONTEND_NET_HPP
8 #define FILTER_FRONEND_NET_HPP
9
10 #include <stdexcept>
11 #include <vector>
12
13 #include "filter.hpp"
14
15 namespace yp2 {
16     namespace filter {
17         class FrontendNet : public Base {
18         public:
19             FrontendNet::FrontendNet();
20             void process(yp2::Package & package) const;
21         private:
22             int m_no_threads;
23             std::vector<std::string> m_ports;
24             int m_listen_duration;
25         public:
26             /// set function - left val in assignment
27             std::vector<std::string> &ports();
28             int &listen_duration();
29         };
30     }
31 }
32
33
34 #endif
35 /*
36  * Local variables:
37  * c-basic-offset: 4
38  * indent-tabs-mode: nil
39  * c-file-style: "stroustrup"
40  * End:
41  * vim: shiftwidth=4 tabstop=8 expandtab
42  */