Renamed a few methods for consistency

This commit is contained in:
anschrammh 2020-01-20 08:03:28 +01:00
parent d371eeb267
commit 6dfee719a9

View File

@ -38,13 +38,13 @@ class TCPServer
return _clientList.count(); return _clientList.count();
} }
virtual void runServer() virtual void run()
{ {
handleNewClients(); handleNewClients();
getClientData(); getClientData();
} }
virtual void startServer() virtual void start()
{ {
if(!_serverStarted) if(!_serverStarted)
{ {
@ -53,7 +53,7 @@ class TCPServer
} }
} }
virtual void stopServer() virtual void stop()
{ {
if(_serverStarted) if(_serverStarted)
{ {