diff options
author | Aaron Marks <nymacro@gmail.com> | 2005-07-17 03:18:31 +0000 |
---|---|---|
committer | Aaron Marks <nymacro@gmail.com> | 2005-07-17 03:18:31 +0000 |
commit | 98f41d64a9a1628dd132b356487415762b1409a8 (patch) | |
tree | c2e784d778c0285f589d555f6acb4395485bb406 /src/connectionhandler.h | |
parent | 49bc551cc81f23c6e5243e1ddb0ddf6d0159c544 (diff) | |
download | manaserv-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.h | 5 |
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; |