From: Maxim Mamontov Date: Sat, 27 Sep 2014 21:44:10 +0000 (+0300) Subject: Added keepalive setter. X-Git-Tag: 2.409~253 X-Git-Url: https://git.stg.codes/stg.git/commitdiff_plain/96895bd4b4f6dfe95babece955434d5392866562?hp=3cc4710818c810ca4e899cfd3d52f091815017d2 Added keepalive setter. --- diff --git a/projects/stargazer/plugins/configuration/sgconfig/conn.h b/projects/stargazer/plugins/configuration/sgconfig/conn.h index e3cb3f0c..fae0c4b2 100644 --- a/projects/stargazer/plugins/configuration/sgconfig/conn.h +++ b/projects/stargazer/plugins/configuration/sgconfig/conn.h @@ -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];