class UpdateClient
Defined at line 43 of file gen/third_party/openweave-core/src/include/Weave/Profiles/data-management/Current/UpdateClient.h
Public Members
void * mpAppState
Binding * mpBinding
Public Methods
void DefaultEventHandler (void *apAppState,EventTypeaEvent,const InEventParam &aInParam,OutEventParam &aOutParam)
void UpdateClient ()
WEAVE_ERROR Init (Binding *constapBinding,void *constapAppState,const EventCallbackaEventCallback)
WEAVE_ERROR Shutdown ()
void CloseUpdate (bool aAbort)
void CancelUpdate ()
WEAVE_ERROR SendUpdate (boolaIsPartialUpdate,PacketBuffer *aPBuf,boolaIsFirstPayload)
Enumerations
enum EventType
| Name | Value |
|---|---|
| kEvent_UpdateComplete | 1 |
| kEvent_UpdateContinue | 2 |
Defined at line 49 of file gen/third_party/openweave-core/src/include/Weave/Profiles/data-management/Current/UpdateClient.h
enum UpdateClientState
| Name | Value | Comments |
|---|---|---|
| kState_Uninitialized | 0 |
The update client has not been initialized |
| kState_Initialized | 1 |
The update client has been initialized and is ready |
| kState_AwaitingResponse | 2 |
The update client has sent the update request, and pending for response |
Defined at line 55 of file gen/third_party/openweave-core/src/include/Weave/Profiles/data-management/Current/UpdateClient.h