diff options
author | Mike Buland <eichlan@xagasoft.com> | 2012-03-25 20:00:08 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2012-03-25 20:00:08 +0000 |
commit | 469bbcf0701e1eb8a6670c23145b0da87357e178 (patch) | |
tree | b5b062a16e46a6c5d3410b4e574cd0cc09057211 /src/protocol.h | |
parent | ee1b79396076edc4e30aefb285fada03bb45e80d (diff) | |
download | libbu++-469bbcf0701e1eb8a6670c23145b0da87357e178.tar.gz libbu++-469bbcf0701e1eb8a6670c23145b0da87357e178.tar.bz2 libbu++-469bbcf0701e1eb8a6670c23145b0da87357e178.tar.xz libbu++-469bbcf0701e1eb8a6670c23145b0da87357e178.zip |
Code is all reorganized. We're about ready to release. I should write up a
little explenation of the arrangement.
Diffstat (limited to 'src/protocol.h')
-rw-r--r-- | src/protocol.h | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/protocol.h b/src/protocol.h deleted file mode 100644 index 0058723..0000000 --- a/src/protocol.h +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2007-2011 Xagasoft, All rights reserved. | ||
3 | * | ||
4 | * This file is part of the libbu++ library and is released under the | ||
5 | * terms of the license contained in the file LICENSE. | ||
6 | */ | ||
7 | |||
8 | #ifndef BU_PROTOCOL_H | ||
9 | #define BU_PROTOCOL_H | ||
10 | |||
11 | #include <stdint.h> | ||
12 | |||
13 | #include "bu/string.h" | ||
14 | |||
15 | namespace Bu | ||
16 | { | ||
17 | class Client; | ||
18 | |||
19 | /** | ||
20 | *@ingroup Serving | ||
21 | */ | ||
22 | class Protocol | ||
23 | { | ||
24 | public: | ||
25 | Protocol(); | ||
26 | virtual ~Protocol(); | ||
27 | |||
28 | virtual void onNewConnection( Bu::Client *pClient ); | ||
29 | virtual void onNewData( Bu::Client *pClient ); | ||
30 | virtual void onMessage( Bu::Client *pClient, const Bu::String &sMsg ); | ||
31 | virtual void onTick( Bu::Client *pClient ); | ||
32 | |||
33 | private: | ||
34 | |||
35 | }; | ||
36 | } | ||
37 | |||
38 | #endif | ||