16 #ifndef M2M_OBSERVATION_HANDLER_H 17 #define M2M_OBSERVATION_HANDLER_H 47 bool send_object =
false) = 0;
69 #ifndef DISABLE_DELAYED_RESPONSE 78 #ifdef ENABLE_ASYNC_REST_RESPONSE 88 virtual void send_asynchronous_response(
M2MBase *base,
89 const uint8_t *payload,
92 const uint8_t token_len,
98 #endif // M2M_OBSERVATION_HANDLER_H Definition: m2mobservationhandler.h:30
virtual bool observation_to_be_sent(M2MBase *object, uint16_t obs_number, const m2m::Vector< uint16_t > &changed_instance_ids, bool send_object=false)=0
The observation callback to be sent to the server due to a change in a parameter under observation...
virtual void resource_to_be_deleted(M2MBase *base)=0
A callback for removing an NSDL resource from the data structures.
virtual void send_delayed_response(M2MBase *base, sn_coap_msg_code_e code=COAP_MSG_CODE_RESPONSE_CHANGED)=0
Sends a delayed post response to the server with 'COAP_MSG_CODE_RESPONSE_CHANGED' response code...
virtual void remove_object(M2MBase *object)=0
A callback for removing an object from the list.
Header for M2MBase class.
CoAP response code values.
virtual void value_updated(M2MBase *base)=0
A callback indicating that the value of the resource object is updated by server. ...
Definition: m2mresourceinstance.h:38
A simple C++ Vector class, used as replacement for std::vector.
Definition: m2mvector.h:29
coap_response_code_e
Definition: coap_response.h:26