You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
795 B

#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