+RS::USER::USER(const std::vector<uint32_t> & r, USER_PTR it, REMOTE_SCRIPT & rs)
+ : lastSentTime(0),
+ user(it),
+ routers(r),
+ shortPacketsCount(0),
+ ip(user->GetCurrIP()),
+ notifier(rs, *this)
+{
+ user->AddConnectedAfterNotifier(¬ifier);
+}
+//-----------------------------------------------------------------------------
+RS::USER::USER(const RS::USER & rhs)
+ : lastSentTime(rhs.lastSentTime),
+ user(rhs.user),
+ routers(rhs.routers),
+ shortPacketsCount(rhs.shortPacketsCount),
+ ip(rhs.ip),
+ notifier(rhs.notifier)
+{
+ user->DelConnectedAfterNotifier(&rhs.notifier);
+ user->AddConnectedAfterNotifier(¬ifier);
+}
+//-----------------------------------------------------------------------------
+RS::USER::~USER()