nl::Weave::Profiles::DataManagement_Current::ViewClient

摘要

构造函数和析构函数

ViewClient(void)

公共类型

AppendToPathList)(void *const apAppState, PathList::Builder &aPathList) typedef
EventCallback)(void *const aAppState, EventID aEvent, WEAVE_ERROR aErrorCode, EventParam &aEventParam) typedef
void(*
EventID 枚举
HandleDataElement)(void *const apAppState, DataElement::Parser &aDataElement) typedef

受保护的类型

@157 枚举

受保护的属性

@159
union nl::Weave::Profiles::DataManagement_Current::ViewClient::@158
mAppState
void *
mBinding
mCurrentMode
enum nl::Weave::Profiles::DataManagement_Current::ViewClient::@157
mEC
mEventCallback
EventCallback
mPrevIsPartialChange
bool

公共属性

mDataSinkCatalog
mHandleDataElement
HandleDataElement

公共函数

Cancel(void)
Init(Binding *const apBinding, void *const apAppState, EventCallback const aEventCallback)
SendRequest(AppendToPathList const aAppendToPathList, HandleDataElement const aHandleDataElement)
SendRequest(TraitCatalogBase< TraitDataSink > *apCatalog, const TraitPath aPathList[], const size_t aPathListSize)

受保护的静态函数

DataSinkOperation_NoMoreData(void *const apOpState, TraitDataSink *const apDataSink)
void
OnMessageReceived(nl::Weave::ExchangeContext *aEC, const nl::Inet::IPPacketInfo *aPktInfo, const nl::Weave::WeaveMessageInfo *aMsgInfo, uint32_t aProfileId, uint8_t aMsgType, PacketBuffer *aPayload)
void
OnResponseTimeout(nl::Weave::ExchangeContext *aEC)
void
OnSendError(ExchangeContext *aEC, WEAVE_ERROR aErrorCode, void *aMsgSpecificContext)
void

联合体

nl::Weave::Profiles::DataManagement_Current::ViewClient::EventParam

公共类型

AppendToPathList

WEAVE_ERROR(* AppendToPathList)(void *const apAppState, PathList::Builder &aPathList)

EventCallback

void(* EventCallback)(void *const aAppState, EventID aEvent, WEAVE_ERROR aErrorCode, EventParam &aEventParam)

EventID

 EventID

HandleDataElement

WEAVE_ERROR(* HandleDataElement)(void *const apAppState, DataElement::Parser &aDataElement)

受保护的类型

@157

 @157

受保护的属性

@159

union nl::Weave::Profiles::DataManagement_Current::ViewClient::@158 @159

mAppState

void * mAppState

mBinding

Binding * mBinding

mCurrentMode

enum nl::Weave::Profiles::DataManagement_Current::ViewClient::@157 mCurrentMode

mEC

nl::Weave::ExchangeContext * mEC

mEventCallback

EventCallback mEventCallback

mPrevIsPartialChange

bool mPrevIsPartialChange

公共属性

mDataSinkCatalog

TraitCatalogBase< TraitDataSink > * mDataSinkCatalog

mHandleDataElement

HandleDataElement mHandleDataElement

公共函数

取消

WEAVE_ERROR Cancel(
  void
)

Init

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

SendRequest

WEAVE_ERROR SendRequest(
  AppendToPathList const aAppendToPathList,
  HandleDataElement const aHandleDataElement
)

SendRequest

WEAVE_ERROR SendRequest(
  TraitCatalogBase< TraitDataSink > *apCatalog,
  const TraitPath aPathList[],
  const size_t aPathListSize
)

ViewClient

 ViewClient(
  void
)

受保护的静态函数

DataSinkOperation_NoMoreData

void DataSinkOperation_NoMoreData(
  void *const apOpState,
  TraitDataSink *const apDataSink
)

OnMessageReceived

void OnMessageReceived(
  nl::Weave::ExchangeContext *aEC,
  const nl::Inet::IPPacketInfo *aPktInfo,
  const nl::Weave::WeaveMessageInfo *aMsgInfo,
  uint32_t aProfileId,
  uint8_t aMsgType,
  PacketBuffer *aPayload
)

OnResponseTimeout

void OnResponseTimeout(
  nl::Weave::ExchangeContext *aEC
)

OnSendError

void OnSendError(
  ExchangeContext *aEC,
  WEAVE_ERROR aErrorCode,
  void *aMsgSpecificContext
)