Mistake on this page? Email us
M2MInterfaceObserver Class Referenceabstract

Public Member Functions

virtual void bootstrap_done (M2MSecurity *server_object)=0
 A callback indicating that the bootstap has been performed successfully. More...
 
virtual void object_registered (M2MSecurity *security_object, const M2MServer &server_object)=0
 A callback indicating that the device object has been registered successfully to the LWM2M server. More...
 
virtual void object_unregistered (M2MSecurity *server_object)=0
 A callback indicating that the device object has been successfully unregistered from the LWM2M server. More...
 
virtual void registration_updated (M2MSecurity *security_object, const M2MServer &server_object)=0
 A callback indicating that the device object registration has been successfully updated on the LWM2M server. More...
 
virtual void error (M2MInterface::Error error)=0
 A callback indicating that there was an error during the operation. More...
 
virtual void value_updated (M2MBase *base, M2MBase::BaseType type)=0
 A callback indicating that the value of the resource object is updated by the server. More...
 
virtual void bootstrap_data_ready (M2MSecurity *)
 A callback indicating when all bootstrap data has been received. More...
 

Member Function Documentation

virtual void M2MInterfaceObserver::bootstrap_data_ready ( M2MSecurity )
inlinevirtual

A callback indicating when all bootstrap data has been received.

Parameters
security_object,Thesecurity object that contains the security information.
virtual void M2MInterfaceObserver::bootstrap_done ( M2MSecurity server_object)
pure virtual

A callback indicating that the bootstap has been performed successfully.

Parameters
server_objectThe server object that contains information fetched about the LWM2M server from the bootstrap server. This object can be used to register to the LWM2M server. The object ownership is passed.
virtual void M2MInterfaceObserver::error ( M2MInterface::Error  error)
pure virtual

A callback indicating that there was an error during the operation.

Parameters
errorAn error code for the occurred error.
virtual void M2MInterfaceObserver::object_registered ( M2MSecurity security_object,
const M2MServer server_object 
)
pure virtual

A callback indicating that the device object has been registered successfully to the LWM2M server.

Parameters
security_objectThe server object on which the device object is registered. The object ownership is passed.
server_objectAn object containing information about the LWM2M server. The client maintains the object.
virtual void M2MInterfaceObserver::object_unregistered ( M2MSecurity server_object)
pure virtual

A callback indicating that the device object has been successfully unregistered from the LWM2M server.

Parameters
server_objectThe server object from which the device object is unregistered. The object ownership is passed.
virtual void M2MInterfaceObserver::registration_updated ( M2MSecurity security_object,
const M2MServer server_object 
)
pure virtual

A callback indicating that the device object registration has been successfully updated on the LWM2M server.

Parameters
security_objectThe server object on which the device object registration updated. The object ownership is passed.
server_objectAn object containing information about the LWM2M server. The client maintains the object.
virtual void M2MInterfaceObserver::value_updated ( M2MBase base,
M2MBase::BaseType  type 
)
pure virtual

A callback indicating that the value of the resource object is updated by the server.

Parameters
baseThe object whose value is updated.
typeThe type of the object.

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