summaryrefslogtreecommitdiffstats
path: root/Source/cmServerConnection.h
diff options
context:
space:
mode:
authorJustin Berger <j.david.berger@gmail.com>2017-02-25 22:06:34 (GMT)
committerJustin Berger <j.david.berger@gmail.com>2017-07-11 00:12:05 (GMT)
commitcf0ae55dcb9224b92a95166f17452c56ba5b6213 (patch)
tree95f53f8e5aee010f5cd4cb90871bac18216d5402 /Source/cmServerConnection.h
parent5ddfb6a472539c3a01a6f8e6d8fa1cb1013fc4f9 (diff)
downloadCMake-cf0ae55dcb9224b92a95166f17452c56ba5b6213.zip
CMake-cf0ae55dcb9224b92a95166f17452c56ba5b6213.tar.gz
CMake-cf0ae55dcb9224b92a95166f17452c56ba5b6213.tar.bz2
server: Add support for connections that aren't event based
Diffstat (limited to 'Source/cmServerConnection.h')
-rw-r--r--Source/cmServerConnection.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmServerConnection.h b/Source/cmServerConnection.h
index 8865480..0804f0e 100644
--- a/Source/cmServerConnection.h
+++ b/Source/cmServerConnection.h
@@ -32,14 +32,14 @@ private:
/***
* Generic connection over std io interfaces -- tty
*/
-class cmStdIoConnection : public cmConnection
+class cmStdIoConnection : public cmEventBasedConnection
{
public:
cmStdIoConnection(cmConnectionBufferStrategy* bufferStrategy);
void SetServer(cmServerBase* s) override;
- bool OnServerShuttingDown() override;
+ bool OnConnectionShuttingDown() override;
bool OnServeStart(std::string* pString) override;