-RS_USER();
-RS_USER(const std::vector<uint32_t> & r, USER_PTR it);
-
-time_t lastSentTime;
-USER_PTR user;
-std::vector<uint32_t> routers;
-int shortPacketsCount;
+ RS_USER()
+ : lastSentTime(0),
+ user(NULL),
+ routers(),
+ shortPacketsCount(0)
+ {}
+ RS_USER(const std::vector<uint32_t> & r, USER_PTR it)
+ : lastSentTime(0),
+ user(it),
+ routers(r),
+ shortPacketsCount(0)
+ {}
+ RS_USER(const RS_USER & rvalue)
+ : lastSentTime(rvalue.lastSentTime),
+ user(rvalue.user),
+ routers(rvalue.routers),
+ shortPacketsCount(rvalue.shortPacketsCount)
+ {}
+
+ RS_USER & operator=(const RS_USER & rvalue);
+
+ time_t lastSentTime;
+ USER_PTR user;
+ std::vector<uint32_t> routers;
+ int shortPacketsCount;