aboutsummaryrefslogtreecommitdiff
path: root/src/protocolgats.h
diff options
context:
space:
mode:
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