Add seperate timeouts for RF and network.

This commit is contained in:
Jonathan Naylor
2017-09-22 21:03:44 +01:00
parent c62c5fe061
commit b966fe7167
4 changed files with 38 additions and 9 deletions

6
Conf.h
View File

@@ -63,7 +63,8 @@ public:
// The General section
bool getDaemon() const;
unsigned int getTimeout() const;
unsigned int getRFTimeout() const;
unsigned int getNetTimeout() const;
std::string getRptAddress() const;
unsigned int getRptPort() const;
std::string getLocalAddress() const;
@@ -157,7 +158,8 @@ private:
unsigned int m_rptPort;
std::string m_localAddress;
unsigned int m_localPort;
unsigned int m_timeout;
unsigned int m_rfTimeout;
unsigned int m_netTimeout;
bool m_ruleTrace;
bool m_debug;