diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-06-02 00:20:16 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-06-02 00:20:16 +0200 |
commit | 8cd1126ab17f9b0bead53c8f88f6929211bc5765 (patch) | |
tree | 02c84948b06ba305895dc9289f3187e05d6dcc80 /server.h | |
parent | d4b3c37642bb9be28ef34885cb33e60ae0f1fa79 (diff) |
Send a simple welcome message to the client.
Diffstat (limited to 'server.h')
-rw-r--r-- | server.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -24,10 +24,11 @@ class Server { void handle_connect(Connection::p connection); void async_read(Connection::p connection); - void handle_message(const boost::system::error_code& error, size_t bytes_transferred, Connection::p connection, uint8_t *_type); + void handle_type(const boost::system::error_code& error, size_t bytes_transferred, Connection::p connection, uint8_t *_type); void handle_pos(Connection::p c); void handle_chunk(Connection::p c); + void handle_message(Connection::p c); }; #endif |