X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_frontend_net.hpp;h=b1c6bd40a92099734a2fe2d78abc4ddd88ecd71a;hb=941d13b6a4dc2c2dd0e4bda89d380bfd8991b03b;hp=b30fabeb837bc9742fa11ce47a747ee8e8e4a019;hpb=57c1c4822f1de4d983c1aee3bc6059ad2600d991;p=metaproxy-moved-to-github.git diff --git a/src/filter_frontend_net.hpp b/src/filter_frontend_net.hpp index b30fabe..b1c6bd4 100644 --- a/src/filter_frontend_net.hpp +++ b/src/filter_frontend_net.hpp @@ -3,6 +3,7 @@ #define FILTER_FRONEND_NET_HPP #include +#include #include "filter.hpp" @@ -10,14 +11,14 @@ namespace yp2 { class FilterFrontendNet : public yp2::Filter { public: FilterFrontendNet::FilterFrontendNet(); - yp2::Package & process(yp2::Package & package) const; + void process(yp2::Package & package) const; private: int m_no_threads; - std::string m_listen_address; + std::vector m_ports; int m_listen_duration; public: /// set function - left val in assignment - std::string & listen_address(); + std::vector &ports(); int &listen_duration(); }; }