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.
24 lines
666 B
24 lines
666 B
#ifndef __IM_CLIENTPROTOCOL_H_INCL__
|
|
#define __IM_CLIENTPROTOCOL_H_INCL__
|
|
|
|
#include "../../lib/data/protocol/protocol.h"
|
|
|
|
/**
|
|
* TODO: Add class description
|
|
*
|
|
* @author Gagua
|
|
*/
|
|
class IM_ClientProtocol : public protocolParser {
|
|
protected:
|
|
virtual int packetChecker(U8 *Buffer, size_t BufferSize);
|
|
virtual protocolPackage *packetExtractor(U8 *Buffer, size_t BufferSize);
|
|
virtual bool packetHandler( protocolPackage *Package ){ return false; };
|
|
public:
|
|
// Constructor
|
|
IM_ClientProtocol();
|
|
|
|
// Destructor
|
|
virtual ~IM_ClientProtocol();
|
|
};
|
|
|
|
#endif // __IM_CLIENTPROTOCOL_H_INCL__
|