透過集合功能整理內容 你可以依據偏好儲存及分類內容。

NL::編織::簡介:: DataManagement_Legacy::協議引擎:: DM交易

這是一個抽像類。

概括

受保護的屬性

mEngine
mExchangeCtx
mTimeout
uint32_t
mTxnId
uint16_t

公共職能

OnMsgReceived (const uint64_t & aResponderId, uint32_t aProfileId, uint8_t aMsgType, PacketBuffer *aMsg)
void
OnResponseReceived (const uint64_t & aResponderId, uint8_t aMsgType, PacketBuffer *aMsg)
virtual WEAVE_ERROR
OnResponseTimeout (const uint64_t & aResponderid)
virtual void
OnStatusReceived (const uint64_t & aResponderId, StatusReport & aStatus)=0
virtual WEAVE_ERROR
SendRequest (PacketBuffer *aBuffer, uint16_t aSendFlags)=0
virtual WEAVE_ERROR

受保護的功能

Finalize (void)
Finish (void)
void
Free (void)
virtual void
Init ( ProtocolEngine *aEngine, uint16_t aTxnId, uint32_t aTimeout)
IsFree (void)
bool
OnError (const uint64_t & aResponderId, WEAVE_ERROR aError)
void
Start (uint8_t aTransport)

受保護的屬性

引擎

ProtocolEngine * mEngine

mExchangeCtx

ExchangeContext * mExchangeCtx

超時

uint32_t mTimeout

傳輸標識

uint16_t mTxnId

公共職能

OnMsgReceived

void OnMsgReceived(
  const uint64_t & aResponderId,
  uint32_t aProfileId,
  uint8_t aMsgType,
  PacketBuffer *aMsg
)

收到響應

virtual WEAVE_ERROR OnResponseReceived(
  const uint64_t & aResponderId,
  uint8_t aMsgType,
  PacketBuffer *aMsg
)

響應超時

virtual void OnResponseTimeout(
  const uint64_t & aResponderid
)

接收狀態

virtual WEAVE_ERROR OnStatusReceived(
  const uint64_t & aResponderId,
  StatusReport & aStatus
)=0

發送請求

virtual WEAVE_ERROR SendRequest(
  PacketBuffer *aBuffer,
  uint16_t aSendFlags
)=0

受保護的功能

敲定

WEAVE_ERROR Finalize(
  void
)

結束

void Finish(
  void
)

自由

virtual void Free(
  void
)

在裡面

WEAVE_ERROR Init(
  ProtocolEngine *aEngine,
  uint16_t aTxnId,
  uint32_t aTimeout
)

免費

bool IsFree(
  void
)

出錯時

void OnError(
  const uint64_t & aResponderId,
  WEAVE_ERROR aError
)

開始

WEAVE_ERROR Start(
  uint8_t aTransport
)