aboutsummaryrefslogtreecommitdiff
path: root/src/protocolgats.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-11-09 16:25:22 +0000
committerMike Buland <eichlan@xagasoft.com>2012-11-09 16:25:22 +0000
commit74dd68ad611d15abf16a65c36a7cfd3f4492930a (patch)
tree843fed9ba6bb03253a01314afc3b1dfbb2dfd26c /src/protocolgats.h
parentd9b407475ae3ebe434b29d9eabdd7d4416e17881 (diff)
downloadlibgats-74dd68ad611d15abf16a65c36a7cfd3f4492930a.tar.gz
libgats-74dd68ad611d15abf16a65c36a7cfd3f4492930a.tar.bz2
libgats-74dd68ad611d15abf16a65c36a7cfd3f4492930a.tar.xz
libgats-74dd68ad611d15abf16a65c36a7cfd3f4492930a.zip
Made the repo less libbu++-centric.
Diffstat (limited to 'src/protocolgats.h')
-rw-r--r--src/protocolgats.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/protocolgats.h b/src/protocolgats.h
deleted file mode 100644
index 7ed58d4..0000000
--- a/src/protocolgats.h
+++ /dev/null
@@ -1,30 +0,0 @@
1#ifndef GATS_PROTOCOL_GATS_H
2#define GATS_PROTOCOL_GATS_H
3
4#include <bu/protocol.h>
5
6namespace Gats
7{
8 class Object;
9 class GatsStream;
10
11 class ProtocolGats : public Bu::Protocol
12 {
13 public:
14 ProtocolGats();
15 virtual ~ProtocolGats();
16
17 virtual void onNewConnection( Bu::Client *pClient );
18 virtual void onNewData( Bu::Client *pClient );
19
20 virtual void onNewObject( Bu::Client *pClient, Gats::Object *pObj )=0;
21
22 void writeObject( Gats::Object *pObj );
23
24 private:
25 Gats::GatsStream *pStream;
26 Bu::Client *pUsedClient;
27 };
28};
29
30#endif