нл:: Переплетение:: Профили:: DataManagement_Legacy:: ПротоколEngine:: ДМТранзакция

Это абстрактный класс.

Краткое содержание

Защищенные атрибуты

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)

Защищенные атрибуты

mEngine

ProtocolEngine * mEngine

mExchangeCtx

ExchangeContext * mExchangeCtx

mTimeout

uint32_t mTimeout

mTxnId

uint16_t mTxnId

Общественные функции

OnMsgReceived

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

OnResponseReceived

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

OnResponseTimeout

virtual void OnResponseTimeout(
  const uint64_t & aResponderid
)

OnStatusReceived

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
)