]> git.stg.codes - stg.git/commitdiff
Added keepalive setter.
authorMaxim Mamontov <faust.madf@gmail.com>
Sat, 27 Sep 2014 21:44:10 +0000 (00:44 +0300)
committerMaxim Mamontov <faust.madf@gmail.com>
Sat, 27 Sep 2014 21:44:10 +0000 (00:44 +0300)
projects/stargazer/plugins/configuration/sgconfig/conn.h

index e3cb3f0c6e72a26274929c5dd9b49b598315e50a..fae0c4b2426d2c59f6296244e56ff4b7044caf9b 100644 (file)
@@ -69,6 +69,8 @@ class Conn
         bool IsDone() const { return m_state == DONE; }
         bool IsKeepAlive() const { return m_keepAlive; }
 
         bool IsDone() const { return m_state == DONE; }
         bool IsKeepAlive() const { return m_keepAlive; }
 
+        void SetKeepAlive() { m_keepAlive = true; }
+
     private:
 
         static const char STG_HEADER[5];
     private:
 
         static const char STG_HEADER[5];