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

요약

공개 유형

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

공개 함수

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
데이터를 검색하여 작성기에 쓸 수 없습니다.