diff options
author | Justin Berger <j.david.berger@gmail.com> | 2017-07-23 18:25:05 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-08-31 19:35:03 (GMT) |
commit | 6afc7f8828e5199395edfb10ac1a55891596907d (patch) | |
tree | 4b71e829a30a1bc8ee1846916578c4695265b5f9 | |
parent | 1a50cd8c683413154a700bf4ef17e621e8e89d7a (diff) | |
download | CMake-6afc7f8828e5199395edfb10ac1a55891596907d.zip CMake-6afc7f8828e5199395edfb10ac1a55891596907d.tar.gz CMake-6afc7f8828e5199395edfb10ac1a55891596907d.tar.bz2 |
server: Remove unused fields / functions
-rw-r--r-- | Source/cmServer.cxx | 4 | ||||
-rw-r--r-- | Source/cmServer.h | 19 |
2 files changed, 1 insertions, 22 deletions
diff --git a/Source/cmServer.cxx b/Source/cmServer.cxx index 2638ec2..14e1fd1 100644 --- a/Source/cmServer.cxx +++ b/Source/cmServer.cxx @@ -464,10 +464,6 @@ void cmServerBase::OnConnected(cmConnection*) { } -void cmServerBase::OnDisconnect() -{ -} - void cmServerBase::OnServeStart() { } diff --git a/Source/cmServer.h b/Source/cmServer.h index 93ac69e..cb7df10 100644 --- a/Source/cmServer.h +++ b/Source/cmServer.h @@ -37,13 +37,12 @@ public: * This should almost always be called by the given connections * directly. * - * @param connection The connectiont the request was received on + * @param connection The connection the request was received on * @param request The actual request */ virtual void ProcessRequest(cmConnection* connection, const std::string& request) = 0; virtual void OnConnected(cmConnection* connection); - virtual void OnDisconnect(); /*** * Start a dedicated thread. If this is used to start the server, it will @@ -141,22 +140,6 @@ private: cmServerProtocol* Protocol = nullptr; std::vector<cmServerProtocol*> SupportedProtocols; - std::string DataBuffer; - std::string JsonData; - - typedef union - { - uv_tty_t tty; - uv_pipe_t pipe; - } InOutUnion; - - InOutUnion Input; - InOutUnion Output; - uv_stream_t* InputStream = nullptr; - uv_stream_t* OutputStream = nullptr; - - mutable bool Writing = false; - friend class cmServerProtocol; friend class cmServerRequest; }; |