class Builder
Defined at line 1303 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/data-management/Current/MessageDef.h
WDM Custom Command encoder definition
The argument, and the authenticator elements are not directly supported, as they do not have a fixed schema.
Public Methods
WEAVE_ERROR Init (nl::Weave::TLV::TLVWriter *const apWriter)
Initialize a CustomCommand::Builder for writing into a TLV stream
Parameters
Path::Builder & CreatePathBuilder ()
Initialize a Path::Builder for writing into the TLV stream
Returns
A reference to Path::Builder
CustomCommand::Builder & CommandType (const uint64_t aCommandType)
Inject command type id into the TLV stream
Parameters
Returns
A reference to *this
CustomCommand::Builder & InitiationTimeMicroSecond (const int64_t aInitiationTimeMicroSecond)
Inject init time into the TLV stream
Parameters
Returns
A reference to *this
CustomCommand::Builder & ActionTimeMicroSecond (const int64_t aActionTimeMicroSecond)
Inject action time into the TLV stream
Parameters
Returns
A reference to *this
CustomCommand::Builder & ExpiryTimeMicroSecond (const int64_t aExpiryTimeMicroSecond)
Inject expiry time into the TLV stream
Parameters
Returns
A reference to *this
CustomCommand::Builder & MustBeVersion (const uint64_t aMustBeVersion)
Inject must-be version into the TLV stream
Parameters
Returns
A reference to *this
CustomCommand::Builder & EndOfCustomCommand ()
Mark the end of this command
Returns
A reference to *this