1 #ifndef MSGHOSTREQUEST_H_
2 #define MSGHOSTREQUEST_H_
6 #include "MsgPayload.h"
7 #include "MsgMoteAddresses.h"
9 namespace remote
{ namespace protocols
{ namespace diku_host_server
{
11 class MsgHostRequest
: public BaseMsg
14 MsgHostRequest(MsgMoteAddresses
& adressess
, MsgPayload
& message
);
15 MsgHostRequest(uint8_t*& buffer
, uint32_t& buflen
);
19 uint8_t* write(uint8_t* buffer
, uint32_t& buflen
);
20 void print(_IO_FILE
* s
);
22 MsgMoteAddresses
& getMoteAddresses();
23 MsgPayload
& getMessage();
26 uint8_t* read(uint8_t* buffer
, uint32_t& buflen
);
27 MsgMoteAddresses
* addresses
;
33 #endif /*MSGHOSTREQUEST_H_*/