public:
CHG_CURRIP_NOTIFIER_PING(const PING & p, user_iter u) : user(u), ping(p) {}
void Notify(const uint32_t & oldIP, const uint32_t & newIP);
- user_iter GetUser() { return user; }
+ user_iter GetUser() const { return user; }
private:
user_iter user;
public:
CHG_IPS_NOTIFIER_PING(const PING & p, user_iter u) : user(u), ping(p) {}
void Notify(const USER_IPS & oldIPS, const USER_IPS & newIPS);
- user_iter GetUser() { return user; }
+ user_iter GetUser() const { return user; }
private:
user_iter user;
virtual ~PING_SETTINGS() {}
const string& GetStrError() const { return errorStr; }
int ParseSettings(const MODULE_SETTINGS & s);
- int GetPingDelay() { return pingDelay; }
+ int GetPingDelay() const { return pingDelay; }
private:
int ParseIntInRange(const string & str, int min, int max, int * val);