summaryrefslogtreecommitdiffstats
path: root/src/connectionhandler.h
diff options
context:
space:
mode:
authorAaron Marks <nymacro@gmail.com>2005-07-17 03:18:31 +0000
committerAaron Marks <nymacro@gmail.com>2005-07-17 03:18:31 +0000
commit98f41d64a9a1628dd132b356487415762b1409a8 (patch)
treec2e784d778c0285f589d555f6acb4395485bb406 /src/connectionhandler.h
parent49bc551cc81f23c6e5243e1ddb0ddf6d0159c544 (diff)
downloadmanaserv-98f41d64a9a1628dd132b356487415762b1409a8.tar.gz
manaserv-98f41d64a9a1628dd132b356487415762b1409a8.tar.xz
manaserv-98f41d64a9a1628dd132b356487415762b1409a8.zip
Added server->client communications.
Updated MessageHandler's to use short for message type.
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 cf93e6a..0f11476 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;