- int GetIPTime(uint32_t ip, time_t * t);
- void SetDelayTime(time_t delay);
- time_t GetDelayTime();
- string GetStrError();
+ int GetIPTime(uint32_t ip, time_t * t) const;
+ void SetDelayTime(time_t d) { delay = d; }
+ time_t GetDelayTime() const { return delay; }
+ const std::string & GetStrError() const { return errorStr; }