nl::Weave::Profiles::DataManagement_Current::NotificationEngine

摘要

公開類型

NotifyRequestBuilderState{
  kNotifyRequestBuilder_Idle = 0,
  kNotifyRequestBuilder_Ready,
  kNotifyRequestBuilder_BuildDataList,
  kNotifyRequestBuilder_BuildEventList
}
列舉

公用函式

DeleteKey(TraitDataSource *aDataSource, PropertyPathHandle aPropertyHandle)
Init(void)
初始化引擎。
Run(void)
void
執行執行迴圈的主要工作馬函式。
ScheduleRun(void)
void
此主要工作馬函式會在 Weave 執行緒上以非同步方式執行執行迴圈。
SetDirty(TraitDataSource *aDataSource, PropertyPathHandle aPropertyHandle)
將與資料來源相關聯的帳號代碼標示為骯髒。

類別

nl::Weave::Profiles::DataManagement_Current::NotificationEngine::BasicGraphSolver
nl::Weave::Profiles::DataManagement_Current::NotificationEngine::IntermediateGraphSolver
nl::Weave::Profiles::DataManagement_Current::NotificationEngine::NotifyRequestBuilder

這可提供輔助類別,以便組合通知,並去除訊息的建構和結構。

公開類型

NotifyRequestBuilderState

 NotifyRequestBuilderState
屬性
kNotifyRequestBuilder_BuildDataList

該要求是建構結構的 DataList 部分。

kNotifyRequestBuilder_BuildEventList

此要求正在建構結構的 EventList 部分。

kNotifyRequestBuilder_Idle

要求尚未開啟或已關閉並敲定。

kNotifyRequestBuilder_Ready

要求已初始化,並準備好處理任何選用的頂層元素。

公用函式

DeleteKey

WEAVE_ERROR DeleteKey(
  TraitDataSource *aDataSource,
  PropertyPathHandle aPropertyHandle
)

Init

WEAVE_ERROR Init(
  void
)

初始化引擎。

只能呼叫一次。

詳細說明
傳回值
WEAVE_NO_ERROR
成功時。
other
無法擷取資料並寫入寫入者。

執行

void Run(
  void
)

執行執行迴圈的主要工作馬函式。

ScheduleRun

void ScheduleRun(
  void
)

此主要工作馬函式會在 Weave 執行緒上以非同步方式執行執行迴圈。

SetDirty

WEAVE_ERROR SetDirty(
  TraitDataSource *aDataSource,
  PropertyPathHandle aPropertyHandle
)

將與資料來源相關聯的帳號代碼標示為骯髒。

詳細說明
傳回值
WEAVE_NO_ERROR
成功時。
other
無法擷取資料並寫入寫入者。