mbed Connector Endpoint interface. This interface permits a mbed endpoint to easily setup MDS resources and emit those resources to an MDS server.

Dependents:   IoT_LED_demo ServoTest uWater_Project hackathon ... more

Revision:
53:458c2730e086
Parent:
52:822611156e35
Child:
54:6963bb4d0399
--- a/api/DynamicResource.cpp	Tue Apr 14 04:00:01 2015 +0000
+++ b/api/DynamicResource.cpp	Tue Apr 14 13:44:41 2015 +0000
@@ -391,12 +391,12 @@
 }
 
 // set the content-format in responses
-void DynamicResource::set_content_format(uint8_t content_format) {
+void DynamicResource::setContentFormat(uint8_t content_format) {
     this->m_content_format = content_format;
 }
 
 // set the max-age of responses
-void DynamicResource::set_maxage(uint8_t maxage) {
+void DynamicResource::setMaxAge(uint8_t maxage) {
     this->m_maxage = maxage;
 }