]> git.stg.codes - stg.git/blobdiff - projects/stargazer/plugins/configuration/sgconfig/conn.h
Added in-to-traff-type conversion.
[stg.git] / 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; }
 
+        void SetKeepAlive() { m_keepAlive = true; }
+
     private:
 
         static const char STG_HEADER[5];