diff options
| author | Mike Buland <eichlan@xagasoft.com> | 2010-08-21 04:38:31 +0000 |
|---|---|---|
| committer | Mike Buland <eichlan@xagasoft.com> | 2010-08-21 04:38:31 +0000 |
| commit | e23028eb568f7f541c2717b5b4fb2c4cf1e2a690 (patch) | |
| tree | d693cd5f605bc05008466cda6ddc8a1323ecacb3 /src/protocolgats.h | |
| parent | 11b5a91c5884d496744911f261ed6c2b053b9940 (diff) | |
| download | libgats-e23028eb568f7f541c2717b5b4fb2c4cf1e2a690.tar.gz libgats-e23028eb568f7f541c2717b5b4fb2c4cf1e2a690.tar.bz2 libgats-e23028eb568f7f541c2717b5b4fb2c4cf1e2a690.tar.xz libgats-e23028eb568f7f541c2717b5b4fb2c4cf1e2a690.zip | |
Packet was silly, the protocol will be good, though.
Diffstat (limited to 'src/protocolgats.h')
| -rw-r--r-- | src/protocolgats.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/protocolgats.h b/src/protocolgats.h new file mode 100644 index 0000000..cab5217 --- /dev/null +++ b/src/protocolgats.h | |||
| @@ -0,0 +1,22 @@ | |||
| 1 | #ifndef GATS_PROTOCOL_GATS_H | ||
| 2 | #define GATS_PROTOCOL_GATS_H | ||
| 3 | |||
| 4 | #include <bu/protocol.h> | ||
| 5 | |||
| 6 | namespace Gats | ||
| 7 | { | ||
| 8 | class ProtocolGats : public Bu::Protocol | ||
| 9 | { | ||
| 10 | public: | ||
| 11 | ProtocolGats(); | ||
| 12 | virtual ~ProtocolGats(); | ||
| 13 | |||
| 14 | virtual void onNewData( Bu::Client *pClient ); | ||
| 15 | |||
| 16 | virtual void onNewObject( Gats::Object *pObj )=0; | ||
| 17 | |||
| 18 | private: | ||
| 19 | }; | ||
| 20 | }; | ||
| 21 | |||
| 22 | #endif | ||
