#ifndef CLIENT_THREAD_H #define CLIENT_THREAD_H #include #include #include #include namespace Gats { class Object; }; class ClientThread : public QThread { Q_OBJECT; public: ClientThread( QObject *pParent, const QByteArray &baHost, int iPort ); virtual ~ClientThread(); void send( Gats::Object *pObj ); signals: void recv( Gats::Object *pObj ); protected: virtual void run(); private: QByteArray baHost; int iPort; Bu::StreamStack ssCli; Gats::GatsStream gsCli; }; #endif