server code cleanup, changed in-game ping event to not use any bandwidth as long as nothing changes

This commit is contained in:
Max-Wilhelm Bruker 2012-01-29 13:36:43 +01:00
parent a64df4a0f5
commit 4895f2b4fd
27 changed files with 232 additions and 268 deletions

View file

@ -9,7 +9,7 @@
class QSocketNotifier;
class QFile;
class ServerSocketInterface;
class Server_ProtocolHandler;
class ServerLogger : public QObject {
Q_OBJECT
@ -18,7 +18,7 @@ public:
~ServerLogger();
static void hupSignalHandler(int unused);
public slots:
void logMessage(QString message, ServerSocketInterface *ssi = 0);
void logMessage(QString message, Server_ProtocolHandler *ssi = 0);
private slots:
void handleSigHup();
void flushBuffer();