Had to fork with a different name, because of some incompatibility issues.
Command.h@0:f86732d81998, 2015-11-06 (annotated)
- Committer:
- sathipal
- Date:
- Fri Nov 06 07:09:14 2015 +0000
- Revision:
- 0:f86732d81998
- Child:
- 2:199ddea804cd
A library to simplify interactions with the IBM Internet of Things Foundation
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
sathipal | 0:f86732d81998 | 1 | #include "stdio.h" |
sathipal | 0:f86732d81998 | 2 | |
sathipal | 0:f86732d81998 | 3 | #ifndef Command_H |
sathipal | 0:f86732d81998 | 4 | #define Command_H |
sathipal | 0:f86732d81998 | 5 | |
sathipal | 0:f86732d81998 | 6 | namespace IoTF { |
sathipal | 0:f86732d81998 | 7 | |
sathipal | 0:f86732d81998 | 8 | class Command |
sathipal | 0:f86732d81998 | 9 | { |
sathipal | 0:f86732d81998 | 10 | private: |
sathipal | 0:f86732d81998 | 11 | char *command; |
sathipal | 0:f86732d81998 | 12 | char *format; |
sathipal | 0:f86732d81998 | 13 | char *payload; |
sathipal | 0:f86732d81998 | 14 | |
sathipal | 0:f86732d81998 | 15 | public: |
sathipal | 0:f86732d81998 | 16 | |
sathipal | 0:f86732d81998 | 17 | Command(char* command, char* format, char *payload); |
sathipal | 0:f86732d81998 | 18 | char* getPayload(); |
sathipal | 0:f86732d81998 | 19 | char* getCommand(); |
sathipal | 0:f86732d81998 | 20 | char* getFormat(); |
sathipal | 0:f86732d81998 | 21 | }; |
sathipal | 0:f86732d81998 | 22 | } |
sathipal | 0:f86732d81998 | 23 | #endif |