class Parser

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

WDM Update Request parser definition

Public Methods

WEAVE_ERROR Init (const nl::Weave::TLV::TLVReader & aReader)

Initialize the parser object with TLVReader

Parameters

aReader [in] A pointer to a TLVReader, which should point to the beginning of this request
WEAVE_ERROR CheckSchemaValidity ()

Roughly verify the message is correctly formed

WEAVE_ERROR GetExpiryTimeMicroSecond (int64_t *const apExpiryTimeMicroSecond)

Get the expiry time for this request

Parameters

apExpiryTimeMicroSecond [out] A pointer to some variable to receive the expiry time on success
WEAVE_ERROR GetReaderOnArgument (nl::Weave::TLV::TLVReader *const apReader)

Initialize a TLVReader to point to the beginning of the argument component in this request

Parameters

apReader [out] A pointer to TLVReader, which will be initialized at the argument TLV element on success
WEAVE_ERROR GetDataList (DataList::Parser *const apDataList)

Get a TLVReader for the Paths. Next() must be called before accessing them.

WEAVE_ERROR GetUpdateRequestIndex (uint32_t *const apUpdateRequestIndex)

Get the UpdateRequestIndex of this request.

Parameters

apUpdateRequestIndex [out] A pointer to some variable to receive the index of the payload.