nl:: بافت:: پروفایل ها:: DataManagement_Legacy:: Protocol Engine:: تراکنش DMT
این یک کلاس انتزاعی است.خلاصه
ویژگی های محافظت شده | |
---|---|
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
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 )
OnStatus Received
virtual WEAVE_ERROR OnStatusReceived( const uint64_t & aResponderId, StatusReport & aStatus )=0
SendRequest
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 )
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. The OPENTHREAD and related marks are trademarks of the Thread Group and are used under license.
تاریخ آخرین بهروزرسانی 2024-11-10 بهوقت ساعت هماهنگ جهانی.