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

Dependencies:   MQTT

Committer:
lamell
Date:
Mon Sep 14 18:32:15 2020 -0400
Revision:
29:40cc05c6c14b
Parent:
3:3d91bf839b49
No changes

Who changed what in which revision?

UserRevisionLine numberNew contents of line
sathipal 2:199ddea804cd 1 /*******************************************************************************
sathipal 2:199ddea804cd 2 * Copyright (c) 2015 IBM Corp.
sathipal 2:199ddea804cd 3 *
sathipal 2:199ddea804cd 4 * All rights reserved. This program and the accompanying materials
sathipal 2:199ddea804cd 5 * are made available under the terms of the Eclipse Public License v1.0
sathipal 2:199ddea804cd 6 * and Eclipse Distribution License v1.0 which accompany this distribution.
sathipal 2:199ddea804cd 7 *
sathipal 2:199ddea804cd 8 * The Eclipse Public License is available at
sathipal 2:199ddea804cd 9 * http://www.eclipse.org/legal/epl-v10.html
sathipal 2:199ddea804cd 10 * and the Eclipse Distribution License is available at
sathipal 2:199ddea804cd 11 * http://www.eclipse.org/org/documents/edl-v10.php.
sathipal 2:199ddea804cd 12 *
sathipal 2:199ddea804cd 13 * Contributors:
sathipal 2:199ddea804cd 14 * Sathisumar Palaniappan - initial implementation
sathipal 2:199ddea804cd 15 *******************************************************************************/
sathipal 2:199ddea804cd 16
sathipal 3:3d91bf839b49 17 #include "stdio.h"
sathipal 0:f86732d81998 18
sathipal 0:f86732d81998 19 #ifndef Command_H
sathipal 0:f86732d81998 20 #define Command_H
sathipal 0:f86732d81998 21
sathipal 0:f86732d81998 22 namespace IoTF {
sathipal 0:f86732d81998 23
sathipal 0:f86732d81998 24 class Command
sathipal 0:f86732d81998 25 {
sathipal 0:f86732d81998 26 private:
sathipal 0:f86732d81998 27 char *command;
sathipal 0:f86732d81998 28 char *format;
sathipal 0:f86732d81998 29 char *payload;
sathipal 0:f86732d81998 30
sathipal 0:f86732d81998 31 public:
sathipal 0:f86732d81998 32
sathipal 0:f86732d81998 33 Command(char* command, char* format, char *payload);
sathipal 0:f86732d81998 34 char* getPayload();
sathipal 0:f86732d81998 35 char* getCommand();
sathipal 0:f86732d81998 36 char* getFormat();
sathipal 0:f86732d81998 37 };
sathipal 0:f86732d81998 38 }
sathipal 0:f86732d81998 39 #endif