Had to fork with a different name, because of some incompatibility issues.

Dependencies:   MQTT

Command.cpp

Committer:
sathipal
Date:
2015-11-06
Revision:
0:f86732d81998
Child:
2:199ddea804cd

File content as of revision 0:f86732d81998:

#include "Command.h"

using namespace IoTF;

Command::Command(char* command, char* format, char *payload) {
    this->command = command;
    this->format = format;
    this->payload = payload;
}

char* Command::getPayload() {
    return payload;
}

char* Command::getCommand() {
    return command;
}
    
char* Command::getFormat() {
    return format;
}