aboutsummaryrefslogtreecommitdiff
path: root/src/protocolgats.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-08-25 04:57:43 +0000
committerMike Buland <eichlan@xagasoft.com>2010-08-25 04:57:43 +0000
commit2a72923397d866f33221b9d32a3f9653d1a960e7 (patch)
tree26bebaf46e186fa51baad3512ce188ad241cf938 /src/protocolgats.h
parentc10a3c3daf273536a7e78c4e6f200e35706cf96f (diff)
downloadlibgats-2a72923397d866f33221b9d32a3f9653d1a960e7.tar.gz
libgats-2a72923397d866f33221b9d32a3f9653d1a960e7.tar.bz2
libgats-2a72923397d866f33221b9d32a3f9653d1a960e7.tar.xz
libgats-2a72923397d866f33221b9d32a3f9653d1a960e7.zip
Updates to protocolgats...it should work now.
Diffstat (limited to 'src/protocolgats.h')
-rw-r--r--src/protocolgats.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/protocolgats.h b/src/protocolgats.h
index dcd0c55..e261ab5 100644
--- a/src/protocolgats.h
+++ b/src/protocolgats.h
@@ -6,6 +6,7 @@
6namespace Gats 6namespace Gats
7{ 7{
8 class Object; 8 class Object;
9 class GatsStream;
9 10
10 class ProtocolGats : public Bu::Protocol 11 class ProtocolGats : public Bu::Protocol
11 { 12 {
@@ -13,11 +14,16 @@ namespace Gats
13 ProtocolGats(); 14 ProtocolGats();
14 virtual ~ProtocolGats(); 15 virtual ~ProtocolGats();
15 16
17 virtual void onNewConnection( Bu::Client *pClient );
16 virtual void onNewData( Bu::Client *pClient ); 18 virtual void onNewData( Bu::Client *pClient );
17 19
18 virtual void onNewObject( Gats::Object *pObj )=0; 20 virtual void onNewObject( Gats::Object *pObj )=0;
19 21
22 void writeObject( Gats::Object *pObj );
23
20 private: 24 private:
25 Gats::GatsStream *pStream;
26 Bu::Client *pUsedClient;
21 }; 27 };
22}; 28};
23 29