Mistake on this page? Email us
M2MReportObserver Class Referenceabstract
Inheritance diagram for M2MReportObserver:
M2MBase M2MObject M2MObjectInstance M2MResourceBase M2MDevice M2MFirmware M2MSecurity M2MServer M2MResource M2MResourceInstance

Public Member Functions

virtual bool observation_to_be_sent (const m2m::Vector< uint16_t > &changed_instance_ids, uint16_t obs_number, bool send_object=false)=0
 An observation callback to be sent to the server due to a change in the observed parameter. More...
 

Member Function Documentation

virtual bool M2MReportObserver::observation_to_be_sent ( const m2m::Vector< uint16_t > &  changed_instance_ids,
uint16_t  obs_number,
bool  send_object = false 
)
pure virtual

An observation callback to be sent to the server due to a change in the observed parameter.

Parameters
changed_instance_idsA list of changed object instance IDs.
obs_numberThe observation number.
send_objectIndicates whether the whole object will be sent or not.
Returns
True if the message was send, False if there is already ongoing notification.

Implemented in M2MBase.


The documentation for this class was generated from the following file: