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.

21 lines
846 B

2 years ago
​
​
​
2 years ago
​
2 years ago
2 years ago
​
​
​
​
2 years ago
​
​
2 years ago
​
​
2 years ago
​
​
​
  1. #ifndef __ARGUS_RPC_CLIENT_HANDLER__
  2. #define __ARGUS_RPC_CLIENT_HANDLER__
  3. #include "../../data/net/netClientHandler.h"
  4. #include "../../data/protocol/protocol.h"
  5. #include "../../data/protocol/protocolARGUS_DATA.h"
  6. class servaRPCHadnler: public networkClientHandler, public protocolParser{
  7. protected:
  8. virtual int packetChecker(U8 *Buffer, size_t BufferSize);
  9. virtual protocolPackage * packetExtractor(U8 *Buffer, size_t BufferSize);
  10. virtual bool packetHandler( protocolPackage *Package );
  11. public:
  12. explicit servaRPCHadnler( int SocketFD, networkServiceEngine *ptr );
  13. ~servaRPCHadnler();
  14. virtual bool attachEngine( networkServiceEngine *ptr );
  15. virtual void dispatchEvent( EVENT_CONTAINER *Evt );
  16. virtual bool getStatus( void );
  17. };
  18. #endif