Make a few internal classes part of yp2 ns
[metaproxy-moved-to-github.git] / src / filter_frontend_net.hpp
1 /* $Id: filter_frontend_net.hpp,v 1.8 2005-11-07 12:31:43 adam Exp $
2    Copyright (c) 2005, Index Data.
3
4 %LICENSE%
5  */
6
7 #ifndef FILTER_FRONTEND_NET_HPP
8 #define FILTER_FRONTEND_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             class ZAssocServerChild;
19         public:
20             FrontendNet::FrontendNet();
21             void process(yp2::Package & package) const;
22         private:
23             int m_no_threads;
24             std::vector<std::string> m_ports;
25             int m_listen_duration;
26         public:
27             /// set function - left val in assignment
28             std::vector<std::string> &ports();
29             int &listen_duration();
30         };
31     }
32 }
33
34
35 #endif
36 /*
37  * Local variables:
38  * c-basic-offset: 4
39  * indent-tabs-mode: nil
40  * c-file-style: "stroustrup"
41  * End:
42  * vim: shiftwidth=4 tabstop=8 expandtab
43  */