00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef _GEDDEI_RSCOUPLING_H
00011 #define _GEDDEI_RSCOUPLING_H
00012
00013 #include <qthread.h>
00014
00015 #ifdef __GEDDEI_BUILD
00016 #include "qsocketsession.h"
00017 #include "xscoupling.h"
00018 #else
00019 #include <qtextra/qsocketsession.h>
00020 #include <geddei/xscoupling.h>
00021 #endif
00022 using namespace Geddei;
00023
00024 namespace Geddei
00025 {
00026
00032 class RSCoupling : public xSCoupling, protected QThread
00033 {
00034 QSocketSession theSession;
00035 bool theBeingDeleted;
00036
00037
00038 virtual void run();
00039
00040 friend class ProcessorForwarder;
00041
00045 RSCoupling(QSocketDevice *dev, SubProcessor *sub);
00046
00050 virtual ~RSCoupling();
00051 };
00052
00053 };
00054
00055 #endif