projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implemented FilterLog filter
[metaproxy-moved-to-github.git]
/
src
/
filter_frontend_net.hpp
diff --git
a/src/filter_frontend_net.hpp
b/src/filter_frontend_net.hpp
index
d00945f
..
b1c6bd4
100644
(file)
--- a/
src/filter_frontend_net.hpp
+++ b/
src/filter_frontend_net.hpp
@@
-3,6
+3,7
@@
#define FILTER_FRONEND_NET_HPP
#include <stdexcept>
#define FILTER_FRONEND_NET_HPP
#include <stdexcept>
+#include <vector>
#include "filter.hpp"
#include "filter.hpp"
@@
-13,11
+14,11
@@
namespace yp2 {
void process(yp2::Package & package) const;
private:
int m_no_threads;
void process(yp2::Package & package) const;
private:
int m_no_threads;
- std::string m_listen_address;
+ std::vector<std::string> m_ports;
int m_listen_duration;
public:
/// set function - left val in assignment
int m_listen_duration;
public:
/// set function - left val in assignment
- std::string & listen_address();
+ std::vector<std::string> &ports();
int &listen_duration();
};
}
int &listen_duration();
};
}