From 2a72923397d866f33221b9d32a3f9653d1a960e7 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 25 Aug 2010 04:57:43 +0000 Subject: Updates to protocolgats...it should work now. --- src/protocolgats.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/protocolgats.h') 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 @@ namespace Gats { class Object; + class GatsStream; class ProtocolGats : public Bu::Protocol { @@ -13,11 +14,16 @@ namespace Gats ProtocolGats(); virtual ~ProtocolGats(); + virtual void onNewConnection( Bu::Client *pClient ); virtual void onNewData( Bu::Client *pClient ); virtual void onNewObject( Gats::Object *pObj )=0; + void writeObject( Gats::Object *pObj ); + private: + Gats::GatsStream *pStream; + Bu::Client *pUsedClient; }; }; -- cgit v1.2.3