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

Summary

Constructors and Destructors

ViewClient(void)

Public types

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

Protected types

@135 enum

Protected attributes

@137
union nl::Weave::Profiles::DataManagement_Current::ViewClient::@136
mAppState
void *
mBinding
mCurrentMode
enum nl::Weave::Profiles::DataManagement_Current::ViewClient::@135
mEC
mEventCallback
EventCallback
mPrevIsPartialChange
bool

Public attributes

mDataSinkCatalog
mHandleDataElement
HandleDataElement

Public functions

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)

Protected static functions

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

Unions

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

Public types

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)

Protected types

@135

 @135

Protected attributes

@137

union nl::Weave::Profiles::DataManagement_Current::ViewClient::@136 @137

mAppState

void * mAppState

mBinding

Binding * mBinding

mCurrentMode

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

mEC

nl::Weave::ExchangeContext * mEC

mEventCallback

EventCallback mEventCallback

mPrevIsPartialChange

bool mPrevIsPartialChange

Public attributes

mDataSinkCatalog

TraitCatalogBase< TraitDataSink > * mDataSinkCatalog

mHandleDataElement

HandleDataElement mHandleDataElement

Public functions

Cancel

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
)

Protected static functions

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
)