Simulated product dispenser

Dependencies:   HTS221

Fork of mbed-cloud-workshop-connect-HTS221 by Jim Carver

Embed: (wiki syntax)

« Back to documentation index

ConnectorClientCallback Class Reference

ConnectorClientCallback Class Reference

ConnectorClientCallback A callback class for passing the client progress and error condition to the ServiceClient class object. More...

#include <ConnectorClient.h>

Inherited by ServiceClient [private].

Public Member Functions

virtual void registration_process_result (ConnectorClient::StartupSubStateRegistration status)=0
 Indicates that the registration or unregistration operation is complete with success or failure.
virtual void connector_error (M2MInterface::Error error, const char *reason)=0
 Indicates the Connector error condition of an underlying M2MInterface client.
virtual void value_updated (M2MBase *base, M2MBase::BaseType type)=0
 A callback indicating that the value of the resource object is updated by the LWM2M Cloud server.

Detailed Description

ConnectorClientCallback A callback class for passing the client progress and error condition to the ServiceClient class object.

Definition at line 406 of file ConnectorClient.h.


Member Function Documentation

virtual void connector_error ( M2MInterface::Error  error,
const char *  reason 
) [pure virtual]

Indicates the Connector error condition of an underlying M2MInterface client.

Parameters:
error,Indicatesan error code translated from M2MInterface::Error.
reason,Indicateshuman readable text for error description.

Implemented in ServiceClient.

virtual void registration_process_result ( ConnectorClient::StartupSubStateRegistration  status ) [pure virtual]

Indicates that the registration or unregistration operation is complete with success or failure.

Parameters:
status,Indicatessuccess or failure in terms of status code.

Implemented in ServiceClient.

virtual void value_updated ( M2MBase *  base,
M2MBase::BaseType  type 
) [pure virtual]

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

Parameters:
base,Theobject whose value is updated.
type,Thetype of the object.

Implemented in ServiceClient.