mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 17:14:52 -07:00
server code cleanup, changed in-game ping event to not use any bandwidth as long as nothing changes
This commit is contained in:
parent
a64df4a0f5
commit
4895f2b4fd
27 changed files with 232 additions and 268 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue