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

Riepilogo

Tipi pubblici

NotifyRequestBuilderState{
  kNotifyRequestBuilder_Idle = 0,
  kNotifyRequestBuilder_Ready,
  kNotifyRequestBuilder_BuildDataList,
  kNotifyRequestBuilder_BuildEventList
}
enum

Funzioni pubbliche

DeleteKey(TraitDataSource *aDataSource, PropertyPathHandle aPropertyHandle)
Init(void)
Inizializza il motore.
Run(void)
void
Funzione principale del work-horse che esegue il run-loop.
ScheduleRun(void)
void
Principale funzione cavallo di lavoro che esegue il run-loop in modo asincrono sul thread Weave.
SetDirty(TraitDataSource *aDataSource, PropertyPathHandle aPropertyHandle)
Contrassegna un handle associato a un'origine dati come "sporco".

Corsi

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

Questo fornisce una classe helper per comporre notifiche e astrarre la struttura e la struttura del messaggio dai suoi consumatori.

Tipi pubblici

NotifyRequestBuilderState

 NotifyRequestBuilderState
Proprietà
kNotifyRequestBuilder_BuildDataList

La richiesta sta creando la parte DataList della struttura.

kNotifyRequestBuilder_BuildEventList

La richiesta sta creando la parte EventList della struttura.

kNotifyRequestBuilder_Idle

La richiesta non è stata aperta o è stata chiusa e finalizzata.

kNotifyRequestBuilder_Ready

La richiesta è stata inizializzata ed è pronta per eventuali elementi di primo livello facoltativi.

Funzioni pubbliche

DeleteKey

WEAVE_ERROR DeleteKey(
  TraitDataSource *aDataSource,
  PropertyPathHandle aPropertyHandle
)

Inizia

WEAVE_ERROR Init(
  void
)

Inizializza il motore.

Deve essere chiamato una sola volta.

Dettagli
Valori restituiti
WEAVE_NO_ERROR
In caso di successo.
other
Impossibile recuperare i dati e scriverli nel writer.

Esegui

void Run(
  void
)

Funzione principale del work-horse che esegue il run-loop.

ScheduleRun

void ScheduleRun(
  void
)

Principale funzione cavallo di lavoro che esegue il run-loop in modo asincrono sul thread Weave.

SetDirty

WEAVE_ERROR SetDirty(
  TraitDataSource *aDataSource,
  PropertyPathHandle aPropertyHandle
)

Contrassegna un handle associato a un'origine dati come "sporco".

Dettagli
Valori restituiti
WEAVE_NO_ERROR
In caso di successo.
other
Impossibile recuperare i dati e scriverli nel writer.