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: MBEDEndpoint.h
- Revision:
- 51:15c81f725ba2
- Parent:
- 46:32a7545dde45
- Child:
- 56:789a1a8c5ebe
--- a/MBEDEndpoint.h Fri Jul 25 21:21:40 2014 +0000 +++ b/MBEDEndpoint.h Thu Aug 28 20:56:49 2014 +0000 @@ -68,9 +68,10 @@ char m_gw_address[PREFERENCE_VALUE_LEN+1]; // GW address buffer char m_gw_port[PREFERENCE_VALUE_LEN+1]; // GW port buffer int m_instance_id; // instance ID for this endpoint + void *m_status_reporter; // status reporter (optional) public: - MBEDEndpoint(ErrorHandler *error_handler,void *transport,void *extra); + MBEDEndpoint(ErrorHandler *error_handler,void *transport,void *status_reporter,void *extra); virtual ~MBEDEndpoint(); ResourceFactory *initResourceFactory(); void run(); @@ -94,6 +95,8 @@ Preferences *preferences(); + void extraEventLoopWork(); + protected: private: