nl::Weave::Profiles::Time::TimeChangeNotification

#include <src/lib/profiles/time/WeaveTime.h>

時間變更通知訊息的轉碼器

摘要

建構函式和解構函式

TimeChangeNotification(void)
預設建構函式必須與 Decode 搭配使用,因為所有成員都會透過解碼來初始化

公用函式

Encode(PacketBuffer *const aMsg)
將時間變更通知編碼成 PacketBuffer。

公開的靜態函式

Decode(TimeChangeNotification *const aObject, PacketBuffer *const aMsg)
將時間變更通知解碼為 PacketBuffer。

公用函式

編碼

WEAVE_ERROR Encode(
  PacketBuffer *const aMsg
)

將時間變更通知編碼成 PacketBuffer。

詳細說明
參數
[out] aMsg
PacketBuffer 的指標
傳回
成功時:WEAVE_NO_ERROR

TimeChangeNotification

 TimeChangeNotification(
  void
)

預設建構函式必須與 Decode 搭配使用,因為所有成員都會透過解碼來初始化

公開的靜態函式

Decode

WEAVE_ERROR Decode(
  TimeChangeNotification *const aObject,
  PacketBuffer *const aMsg
)

將時間變更通知解碼為 PacketBuffer。

詳細說明
參數
[out] aObject
已解碼物件的指標
[in] aMsg
PacketBuffer 的指標
傳回
成功時:WEAVE_NO_ERROR