#ifndef __NET_CLIENT_HANDLER_HEADER__ #define __NET_CLIENT_HANDLER_HEADER__ #include "../protocol/protocol.h" #include "../../components/base/basicEngine.h" #include "../../components/base/basicEventHandler.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, basicEngine *ptr = NULL ); virtual ~networkClientHandler(); virtual bool attachEngine( basicEngine *ptr ); virtual void dispatchEvent( EVENT_CONTAINER *Evt ){}; virtual bool getStatus( void ){ return false; }; }; #endif