1 #ifndef MSGCLIENTCONFIRM_H_
2 #define MSGCLIENTCONFIRM_H_
5 #include "MsgClientRequest.h"
6 #include "localconstants.h"
8 namespace remote
{ namespace protocols
{ namespace client_server
{
10 class MsgClientConfirm
: public BaseMsg
13 MsgClientConfirm(uint8_t command
, result_t result
, dbkey_t mote_id
);
14 MsgClientConfirm(uint8_t command
, result_t result
, dbkey_t mote_id
, MsgPayload
& moteMsg
);
15 MsgClientConfirm(uint8_t* buffer
, uint32_t& buflen
);
17 uint8_t* write(uint8_t* buffer
, uint32_t& buflen
);
18 void print(_IO_FILE
* s
);
24 MsgPayload
& getMoteMsg();
29 uint8_t* read(uint8_t* buffer
, uint32_t& buflen
);
35 #endif /*MSGCLIENTCONFIRM_H_*/