#ifndef __NET_CLIENT_HANDLER_HEADER__ #define __NET_CLIENT_HANDLER_HEADER__ #include "../protocol/protocol.h" #include "../../components/base/basicEngine.h" #include "../../components/base/basicEventHeap.h" #include "../../components/base/basicLogCollection.h" #include "serverPort.h" class networkClientHandler: public basicEventHandler{ protected: basicLogCollection * m_pLog; basicEngine * m_pEngine; serverPort * m_pPort; public: explicit networkClientHandler( int SocketFD ); virtual ~networkClientHandler(); bool attachEngine( basicEngine *ptr ); virtual void dispatchEvent( basicEvent *Evt ){}; virtual bool getStatus( void ){ return false; }; }; #endif