mqtt specific components for the impact mbed endpoint library
Dependents: mbed_mqtt_endpoint_ublox_ethernet mbed_mqtt_endpoint_ublox_cellular mbed_mqtt_endpoint_nxp
Diff: IOCEndpoint.h
- Revision:
- 11:9ae0fe4517c1
- Parent:
- 7:8a4a61202b36
- Child:
- 56:789a1a8c5ebe
diff -r d96c57c19611 -r 9ae0fe4517c1 IOCEndpoint.h --- a/IOCEndpoint.h Fri Mar 28 16:50:02 2014 +0000 +++ b/IOCEndpoint.h Fri Mar 28 17:49:19 2014 +0000 @@ -19,27 +19,19 @@ #ifndef _IOC_ENDPOINT_H_ #define _IOC_ENDPOINT_H_ -// Error handler support -#include "ErrorHandler.h" +// BaseClass support +#include "BaseClass.h" // Personality support - Lights #include "Light.h" -class IOCEndpoint { - private: - ErrorHandler *m_error_handler; - void *m_endpoint; - +class IOCEndpoint : public BaseClass { public: IOCEndpoint(ErrorHandler *error_handler,void *endpoint); - ~IOCEndpoint(); + virtual ~IOCEndpoint(); char *buildLightPayload(char *data,int data_length,Light *light); - void saveExternalID(Personality *instance,char *data); - - private: - ErrorHandler *logger(); }; #endif // _IOC_ENDPOINT_H_ \ No newline at end of file