MQTTClient
Dependents: IoTGateway_Basic test
Revision 3:ac326c5b065c, committed 2012-03-21
- Comitter:
- SomeRandomBloke
- Date:
- Wed Mar 21 21:52:42 2012 +0000
- Parent:
- 2:92b9dd336375
- Child:
- 4:9e25b78e0352
- Commit message:
- updated comments
Changed in this revision
MQTTClient.cpp | Show annotated file Show diff for this revision Revisions of this file |
MQTTClient.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/MQTTClient.cpp Wed Mar 21 21:49:28 2012 +0000 +++ b/MQTTClient.cpp Wed Mar 21 21:52:42 2012 +0000 @@ -35,7 +35,7 @@ */ MQTTClient::~MQTTClient() {} -/** Constructor with parameters +/** Alternative Constructor with parameters * * Allow object to be constructed with minimum parameters. *
--- a/MQTTClient.h Wed Mar 21 21:49:28 2012 +0000 +++ b/MQTTClient.h Wed Mar 21 21:52:42 2012 +0000 @@ -46,22 +46,8 @@ { public: -/** Default Constructor - */ MQTTClient(); - -/** Default Destructor - */ ~MQTTClient(); - -/** Alternative Constructor with parameters - * - * Allow object to be constructed with minimum parameters. - * - * @param server The IP address of the server to connect to - * @param port The TCP/IP port on the server to connect to - * @param callback Callback function to handle subscription to topics - */ MQTTClient(IpAddr server, int port, void (*callback)(char*, char*)); void init(IpAddr *server, int port, void (*callback)(char*, char*)); void init(IpAddr *server, int port, char *userName, char *password, void (*callback)(char*, char*));