]> git.stg.codes - stg.git/blobdiff - projects/sgauthstress/user.h
Copy constructor, assignement operator and network initialization added
[stg.git] / projects / sgauthstress / user.h
index 0bf533458c7e93ff1e0011fde2e19946708059d5..1aa6f9e38b68f2f86928e84759a753a25158144d 100644 (file)
@@ -12,8 +12,13 @@ class USER {
         USER(const std::string & login,
              const std::string & password,
              uint32_t ip);
+        USER(const USER & rvalue);
         ~USER();
 
+        const USER & operator=(const USER & rvalue);
+
+        bool InitNetwork();
+
         const std::string & GetLogin() const { return login; }
         uint32_t GetIP() const { return ip; }
         uint32_t GetAliveTimeout() const { return aliveTimeout; }