mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 08:20:18 -06:00
server: Remove unused fields / functions
This commit is contained in:
@@ -464,10 +464,6 @@ void cmServerBase::OnConnected(cmConnection*)
|
||||
{
|
||||
}
|
||||
|
||||
void cmServerBase::OnDisconnect()
|
||||
{
|
||||
}
|
||||
|
||||
void cmServerBase::OnServeStart()
|
||||
{
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user