Protocols: Fix includes to use the explicit path of the header files
[remote/remote-mci.git] / protocols / BaseMsg.h
blob630a446dc187e97029465563916e78f48fadf638
1 #ifndef REMOTE_PROTOCOLS_BASEMSG_H
2 #define REMOTE_PROTOCOLS_BASEMSG_H
4 #include "protocols/tcputil.h"
6 namespace remote { namespace protocols {
8 class BaseMsg
10 public:
11 virtual ~BaseMsg(){};
12 virtual uint32_t getLength() = 0;
13 virtual uint8_t* write(uint8_t* buffer, uint32_t& buflen) = 0;
14 virtual void print(FILE* s) = 0;
15 protected:
16 virtual uint8_t* read(uint8_t* buffer, uint32_t& buflen) = 0;
21 #endif