metaproxy
1.21.0
|
#include <filter_frontend_net.hpp>
Classes | |
class | IP_Pattern |
class | My_Timer_Thread |
class | PeerStat |
class | Port |
class | Rep |
class | ThreadPoolPackage |
class | ZAssocChild |
class | ZAssocServer |
Public Member Functions | |
FrontendNet () | |
~FrontendNet () | |
void | process (metaproxy_1::Package &package) const |
void | configure (const xmlNode *ptr, bool test_only, const char *path) |
void | start () const |
void | stop (int signo) const |
void | set_ports (std::vector< Port > &ports) |
set ports More... | |
void | set_ports (std::vector< std::string > &ports) |
void | set_listen_duration (int d) |
Private Attributes | |
boost::scoped_ptr< Rep > | m_p |
Definition at line 31 of file filter_frontend_net.hpp.
mp::filter::FrontendNet::FrontendNet | ( | ) |
Definition at line 631 of file filter_frontend_net.cpp.
mp::filter::FrontendNet::~FrontendNet | ( | ) |
Definition at line 685 of file filter_frontend_net.cpp.
void mp::filter::FrontendNet::configure | ( | const xmlNode * | ptr, |
bool | test_only, | ||
const char * | path | ||
) |
Definition at line 788 of file filter_frontend_net.cpp.
References metaproxy_1::filter::FrontendNet::Port::cert_fname, m_p, metaproxy_1::filter::FrontendNet::Port::max_recv_bytes, metaproxy_1::filter::FrontendNet::IP_Pattern::pattern, metaproxy_1::filter::FrontendNet::Port::port, metaproxy_1::filter::FrontendNet::Port::route, set_ports(), metaproxy_1::filter::FrontendNet::IP_Pattern::value, and metaproxy_1::filter::FrontendNet::IP_Pattern::verbose.
void mp::filter::FrontendNet::process | ( | metaproxy_1::Package & | package | ) | const |
Definition at line 725 of file filter_frontend_net.cpp.
References m_p, and metaproxy_1::filter::FrontendNet::My_Timer_Thread::timeout().
void mp::filter::FrontendNet::set_listen_duration | ( | int | d | ) |
Definition at line 972 of file filter_frontend_net.cpp.
References m_p.
void mp::filter::FrontendNet::set_ports | ( | std::vector< Port > & | ports | ) |
set ports
Definition at line 937 of file filter_frontend_net.cpp.
References m_p.
Referenced by configure(), and set_ports().
void mp::filter::FrontendNet::set_ports | ( | std::vector< std::string > & | ports | ) |
Definition at line 920 of file filter_frontend_net.cpp.
References metaproxy_1::filter::FrontendNet::Port::port, and set_ports().
void mp::filter::FrontendNet::start | ( | ) | const |
Definition at line 694 of file filter_frontend_net.cpp.
void mp::filter::FrontendNet::stop | ( | int | signo | ) | const |
Definition at line 689 of file filter_frontend_net.cpp.
|
private |
Definition at line 40 of file filter_frontend_net.hpp.
Referenced by configure(), metaproxy_1::filter::FrontendNet::ZAssocChild::failNotify(), process(), metaproxy_1::filter::FrontendNet::ZAssocChild::recv_GDU(), metaproxy_1::filter::FrontendNet::ZAssocChild::report(), metaproxy_1::filter::FrontendNet::ThreadPoolPackage::result(), metaproxy_1::filter::FrontendNet::ZAssocServer::sessionNotify(), set_listen_duration(), set_ports(), and metaproxy_1::filter::FrontendNet::ZAssocChild::~ZAssocChild().