nl::Weave::Profiles::DataManagement_Current::UpdateClient

Summary

Constructors and Destructors

UpdateClient(void)

Public types

AddArgumentCallback)(UpdateClient *apClient, void *apCallState, TLV::TLVWriter &aOuterWriter) typedef
AddElementCallback)(UpdateClient *apClient, void *apCallState, TLV::TLVWriter &aOuterWriter) typedef
EventCallback)(void *apAppState, EventType aEvent, const InEventParam &aInParam, OutEventParam &aOutParam) typedef
void(*
EventType enum
UpdateClientState enum

Public attributes

mpAppState
void *

Public static functions

DefaultEventHandler(void *apAppState, EventType aEvent, const InEventParam & aInParam, OutEventParam & aOutParam)
void

Public functions

AddElement(const uint32_t & aProfileID, const uint64_t & aInstanceID, const uint64_t & aResourceID, const DataVersion & aRequiredDataVersion, const SchemaVersionRange *aSchemaVersionRange, const uint64_t *aPathArray, const size_t aPathLength, AddElementCallback aAddElementCallback, void *aCallState)
CancelElement(TLV::TLVWriter & aOuterWriter)
CancelUpdate(void)
Checkpoint(TLV::TLVWriter & aWriter)
FinalizeElement(TLV::TLVWriter & aOuterWriter)
Init(Binding *const apBinding, void *const apAppState, EventCallback const aEventCallback)
Rollback(TLV::TLVWriter & aWriter)
SendUpdate(bool aIsPartialUpdate)
Shutdown(void)
StartElement(const uint32_t & aProfileID, const uint64_t & aInstanceID, const uint64_t & aResourceID, const DataVersion & aRequiredDataVersion, const SchemaVersionRange *aSchemaVersionRange, const uint64_t *aPathArray, const size_t aPathLength, TLV::TLVWriter & aOuterWriter)
StartUpdate(utc_timestamp_t aExpiryTimeMicroSecond, AddArgumentCallback aAddArgumentCallback, uint32_t maxUpdateSize)

Structs

nl::Weave::Profiles::DataManagement_Current::UpdateClient::InEventParam
nl::Weave::Profiles::DataManagement_Current::UpdateClient::OutEventParam

Public types

AddArgumentCallback

WEAVE_ERROR(* AddArgumentCallback)(UpdateClient *apClient, void *apCallState, TLV::TLVWriter &aOuterWriter)

AddElementCallback

WEAVE_ERROR(* AddElementCallback)(UpdateClient *apClient, void *apCallState, TLV::TLVWriter &aOuterWriter)

EventCallback

void(* EventCallback)(void *apAppState, EventType aEvent, const InEventParam &aInParam, OutEventParam &aOutParam)

EventType

 EventType

UpdateClientState

 UpdateClientState

Public attributes

mpAppState

void * mpAppState

Public static functions

DefaultEventHandler

void DefaultEventHandler(
  void *apAppState,
  EventType aEvent,
  const InEventParam & aInParam,
  OutEventParam & aOutParam
)

Public functions

AddElement

WEAVE_ERROR AddElement(
  const uint32_t & aProfileID,
  const uint64_t & aInstanceID,
  const uint64_t & aResourceID,
  const DataVersion & aRequiredDataVersion,
  const SchemaVersionRange *aSchemaVersionRange,
  const uint64_t *aPathArray,
  const size_t aPathLength,
  AddElementCallback aAddElementCallback,
  void *aCallState
)

CancelElement

WEAVE_ERROR CancelElement(
  TLV::TLVWriter & aOuterWriter
)

CancelUpdate

WEAVE_ERROR CancelUpdate(
  void
)

Checkpoint

WEAVE_ERROR Checkpoint(
  TLV::TLVWriter & aWriter
)

FinalizeElement

WEAVE_ERROR FinalizeElement(
  TLV::TLVWriter & aOuterWriter
)

Init

WEAVE_ERROR Init(
  Binding *const apBinding,
  void *const apAppState,
  EventCallback const aEventCallback
)

Rollback

WEAVE_ERROR Rollback(
  TLV::TLVWriter & aWriter
)

SendUpdate

WEAVE_ERROR SendUpdate(
  bool aIsPartialUpdate
)

Shutdown

WEAVE_ERROR Shutdown(
  void
)

StartElement

WEAVE_ERROR StartElement(
  const uint32_t & aProfileID,
  const uint64_t & aInstanceID,
  const uint64_t & aResourceID,
  const DataVersion & aRequiredDataVersion,
  const SchemaVersionRange *aSchemaVersionRange,
  const uint64_t *aPathArray,
  const size_t aPathLength,
  TLV::TLVWriter & aOuterWriter
)

StartUpdate

WEAVE_ERROR StartUpdate(
  utc_timestamp_t aExpiryTimeMicroSecond,
  AddArgumentCallback aAddArgumentCallback,
  uint32_t maxUpdateSize
)

UpdateClient

 UpdateClient(
  void
)