From 5acc5a82caf7402cfa71c6ead1c95adc9a2d026b Mon Sep 17 00:00:00 2001 From: Maxim Mamontov Date: Sun, 28 Sep 2014 00:44:10 +0300 Subject: [PATCH] Added keepalive setter. --- projects/stargazer/plugins/configuration/sgconfig/conn.h | 2 ++ 1 file changed, 2 insertions(+) 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]; -- 2.44.2