summaryrefslogtreecommitdiff
path: root/src/connectionhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/connectionhandler.h')
-rw-r--r--src/connectionhandler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/connectionhandler.h b/src/connectionhandler.h
index cf93e6af..0f114765 100644
--- a/src/connectionhandler.h
+++ b/src/connectionhandler.h
@@ -99,6 +99,11 @@ class ConnectionHandler
*/
void registerHandler(unsigned int msgId, MessageHandler *handler);
+ /**
+ * Send queued packets to client
+ */
+ void sendPackets();
+
private:
std::map<unsigned int, MessageHandler*> handlers;
std::map<NetComputer*, TCPsocket> clients;