class ViewClient

Defined at line 44 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/data-management/Current/ViewClient.h

Protected Members

 mCurrentMode
Binding * mBinding
void * mAppState
EventCallback mEventCallback
bool mPrevIsPartialChange
TraitDataHandle mPrevTraitDataHandle
nl::Weave::ExchangeContext * mEC
 

Public Methods

void ViewClient ()

Do nothing

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

AddRef to Binding

store pointers to binding and delegate

null out EC

WEAVE_ERROR SendRequest (const AppendToPathList aAppendToPathList, const HandleDataElement aHandleDataElement)

acquire EC from binding, kick off send message

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

InternalCancel(false)

Protected Methods

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

Enumerations

enum EventID
Name Value
kEvent_RequestFailed 1
kEvent_AboutToSendRequest 2
kEvent_ViewResponseReceived 3
kEvent_ViewResponseConsumed 4
kEvent_StatusReportReceived 5

Defined at line 47 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/data-management/Current/ViewClient.h

enum 
Name Value
kMode_Canceled 1
kMode_Initialized 2
kMode_DataSink 3
kMode_WithoutDataSink 4

Defined at line 133 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/data-management/Current/ViewClient.h

Records