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.
|
|
#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 "netServiceEngine.h"
#include "serverPort.h"
class networkClientHandler : public basicEventHandler{ protected:
basicLogCollection * m_pLog; networkServiceEngine * m_pEngine; serverPort * m_pPort;
public:
explicit networkClientHandler(int SocketFD, networkServiceEngine * ptr = NULL); virtual ~networkClientHandler(); virtual bool attachEngine(networkServiceEngine * ptr);
virtual bool dispatchEvent(EVENT_CONTAINER * Evt) { if (!Evt) return false; return true; }
virtual bool getStatus(void) { return false; }};
#endif
|