1 #ifndef REMOTE_PROTOCOLS_BASEMSG_H
2 #define REMOTE_PROTOCOLS_BASEMSG_H
4 #include "protocols/tcputil.h"
6 namespace remote
{ namespace protocols
{
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;
16 virtual uint8_t* read(uint8_t* buffer
, uint32_t& buflen
) = 0;