USER(const std::vector<uint32_t> & r, USER_PTR it)
: user(it),
routers(r),
+ shortPacketsCount(0),
ip(user->GetCurrIP())
{}
int Start();
int Stop();
- int Reload();
+ int Reload(const MODULE_SETTINGS & ms);
bool IsRunning() { return isRunning; }
const std::string & GetStrError() const { return errorStr; }
std::vector<uint32_t> IP2Routers(uint32_t ip);
bool GetUsers();
- std::string GetUserParam(USER_PTR u, const std::string & paramName) const;
void SetUserNotifiers(USER_PTR u);
void UnSetUserNotifiers(USER_PTR u);