X-Git-Url: http://jsfdemo.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_frontend_net.hpp;h=89478a22b60bd782b4fa887d34ea9d940e1ac9e3;hb=6ed3503878603e0bae8ab0ee62bf900b3a60f2ca;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..89478a2 100644 --- a/src/filter_frontend_net.hpp +++ b/src/filter_frontend_net.hpp @@ -1,25 +1,34 @@ +/* $Id: filter_frontend_net.hpp,v 1.8 2005-11-07 12:31:43 adam Exp $ + Copyright (c) 2005, Index Data. + +%LICENSE% + */ #ifndef FILTER_FRONTEND_NET_HPP -#define FILTER_FRONEND_NET_HPP +#define FILTER_FRONTEND_NET_HPP #include +#include #include "filter.hpp" namespace yp2 { - class FilterFrontendNet : public yp2::Filter { - public: - FilterFrontendNet::FilterFrontendNet(); - yp2::Package & process(yp2::Package & package) const; - private: - int m_no_threads; - std::string m_listen_address; - int m_listen_duration; - public: - /// set function - left val in assignment - std::string & listen_address(); - int &listen_duration(); - }; + namespace filter { + class FrontendNet : public Base { + class ZAssocServerChild; + public: + FrontendNet::FrontendNet(); + void process(yp2::Package & package) const; + private: + int m_no_threads; + std::vector m_ports; + int m_listen_duration; + public: + /// set function - left val in assignment + std::vector &ports(); + int &listen_duration(); + }; + } } @@ -28,6 +37,7 @@ namespace yp2 { * Local variables: * c-basic-offset: 4 * indent-tabs-mode: nil + * c-file-style: "stroustrup" * End: * vim: shiftwidth=4 tabstop=8 expandtab */