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.
29 lines
919 B
29 lines
919 B
#ifndef __LRF_DEFENDER_HANDLER_H_INCL__
|
|
#define __LRF_DEFENDER_HANDLER_H_INCL__
|
|
|
|
#include "../../data/protocol/protocolLGS.h"
|
|
#include "../../data/net/netClientHandler.h"
|
|
#include "../../components/base/basicLogCollection.h"
|
|
#include "../../data/protocol/protocolDefender.h"
|
|
#include "../../data/net/clientPort.h"
|
|
|
|
/**
|
|
* TODO: Add class description
|
|
*
|
|
* @author Gagua
|
|
*/
|
|
class LRF_DefenderHandler : public basicThread, public basicEventHandler, public protocolDefender {
|
|
private:
|
|
basicLogCollection * m_pLog;
|
|
EventsFIFO m_oOutputFIFO;
|
|
clientPort * m_pSocketPort;
|
|
unsigned long long m_llTicks;
|
|
protected:
|
|
virtual void m_fThreadProc( void );
|
|
public:
|
|
explicit LRF_DefenderHandler( config_setting_t *SNode );
|
|
virtual ~LRF_DefenderHandler();
|
|
virtual bool dispatchEvent( EVENT_CONTAINER *Evt );
|
|
};
|
|
|
|
#endif // __LRF_CLIENTHANDLER_H_INCL__
|