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.
22 lines
846 B
22 lines
846 B
#ifndef __ARGUS_RPC_CLIENT_HANDLER__
|
|
#define __ARGUS_RPC_CLIENT_HANDLER__
|
|
|
|
#include "../../data/net/netClientHandler.h"
|
|
#include "../../data/protocol/protocol.h"
|
|
#include "../../data/protocol/protocolARGUS_DATA.h"
|
|
|
|
class servaRPCHadnler: public networkClientHandler, public protocolParser{
|
|
protected:
|
|
virtual int packetChecker(U8 *Buffer, size_t BufferSize);
|
|
virtual protocolPackage * packetExtractor(U8 *Buffer, size_t BufferSize);
|
|
virtual bool packetHandler( protocolPackage *Package );
|
|
public:
|
|
explicit servaRPCHadnler( int SocketFD, networkServiceEngine *ptr );
|
|
~servaRPCHadnler();
|
|
virtual bool attachEngine( networkServiceEngine *ptr );
|
|
virtual void dispatchEvent( EVENT_CONTAINER *Evt );
|
|
virtual bool getStatus( void );
|
|
};
|
|
|
|
|
|
#endif
|