nl:: بافت:: پروفایل ها:: BDX_Current:: WeaveBdxClient
خلاصه
سازندگان و ویرانگرها | |
---|---|
WeaveBdxClient () |
انواع عمومی | |
---|---|
ErrorHandler )(void *aAppState, WEAVE_ERROR anErrorCode) | typedefvoid(* |
GetBlockHandler )(void *aAppState, uint64_t *pLength, uint8_t **aDataBlock, bool *isLastBlock) | typedefvoid(* |
PutBlockHandler )(uint64_t aLength, uint8_t *aDataBlock, bool isLastBlock) | typedefvoid(* |
ReceiveAcceptHandler )(ReceiveAccept *aReceiveAcceptMsg) | typedefvoid(* |
ReceiveInitHandler )(ReceiveInit *aReceiveInitMsg) | typedefvoid(* |
RejectHandler )(void *aAppState, StatusReport *aReport) | typedefvoid(* |
SendAcceptHandler )(void *aAppState, SendAccept *aSendAcceptMsg) | typedefvoid(* |
SendInitHandler )(SendInit *aSendInitMsg) | typedefvoid(* |
XferDoneHandler )(void *aAppState) | typedefvoid(* |
XferErrorHandler )(void *aAppState, StatusReport *aXferError) | typedefvoid(* |
صفات عمومی | |
---|---|
amDriver | bool |
amInitiator | bool |
amSender | bool |
isAccepted | bool |
isAsynch | bool |
isDone | bool |
isInitiated | bool |
isWideRange | bool |
theAppState | void * |
theBlockCounter | uint8_t |
theConnection | |
theEncryptionType | uint8_t |
theErrorHandler | ErrorHandler |
theExchangeCtx | |
theExchangeMgr | |
theFabricState | const WeaveFabricState * |
theFileDesignator | |
theGetBlockHandler | GetBlockHandler |
theKeyId | uint16_t |
theLength | uint64_t |
theMaxBlockSize | uint16_t |
thePutBlockHandler | PutBlockHandler |
theReceiveAcceptHandler | ReceiveAcceptHandler |
theReceiveInitHandler | ReceiveInitHandler |
theRejectHandler | RejectHandler |
theSendAcceptHandler | SendAcceptHandler |
theSendInitHandler | SendInitHandler |
theStartOffset | uint64_t |
theXferDoneHandler | XferDoneHandler |
theXferErrorHandler | XferErrorHandler |
توابع عمومی | |
---|---|
DispatchErrorHandler ( WEAVE_ERROR anErrorCode) | void |
DispatchGetBlockHandler (uint64_t *pLength, uint8_t **aDataBlock, bool *isLastBlock) | void |
DispatchPutBlockHandler (uint64_t length, uint8_t *dataBlock, bool isLastBlock) | void |
DispatchReceiveAccept ( ReceiveAccept *aReceiveAcceptMsg) | void |
DispatchRejectHandler ( StatusReport *aReport) | void |
DispatchSendAccept ( SendAccept *aSendAcceptMsg) | void |
DispatchXferDoneHandler () | void |
DispatchXferErrorHandler ( StatusReport *aXferError) | void |
awaitBdxInit () | |
initBdxReceive (bool iCanDrive, ReceiveAcceptHandler anAcceptHandler, RejectHandler aRejectHandler, PutBlockHandler aBlockHandler, XferErrorHandler aXferErrorHandler, XferDoneHandler aDoneHandler, ErrorHandler anErrorHandler) | |
initBdxSend (bool iCanDrive, bool uCanDrive, bool aSynchOK, SendAcceptHandler anAcceptHandler, RejectHandler aRejectHandler, GetBlockHandler aBlockHandler, XferErrorHandler aXferErrorHandler, XferDoneHandler aDoneHandler, ErrorHandler anErrorHandler, ReferencedTLVData *aMetaData) | |
initClient ( WeaveExchangeManager *, void *, ReferencedString &, uint16_t, uint64_t, uint64_t, bool) | |
shutdownClient () | |
shutdownClient ( WEAVE_ERROR aErr) |
انواع عمومی
Error Handler
void(* ErrorHandler)(void *aAppState, WEAVE_ERROR anErrorCode)
GetBlockHandler
void(* GetBlockHandler)(void *aAppState, uint64_t *pLength, uint8_t **aDataBlock, bool *isLastBlock)
PutBlockHandler
void(* PutBlockHandler)(uint64_t aLength, uint8_t *aDataBlock, bool isLastBlock)
ReceiveAcceptHandler
void(* ReceiveAcceptHandler)(ReceiveAccept *aReceiveAcceptMsg)
ReceiveInitHandler
void(* ReceiveInitHandler)(ReceiveInit *aReceiveInitMsg)
RejectHandler
void(* RejectHandler)(void *aAppState, StatusReport *aReport)
SendAcceptHandler
void(* SendAcceptHandler)(void *aAppState, SendAccept *aSendAcceptMsg)
SendInitHandler
void(* SendInitHandler)(SendInit *aSendInitMsg)
XferDoneHandler
void(* XferDoneHandler)(void *aAppState)
XferErrorHandler
void(* XferErrorHandler)(void *aAppState, StatusReport *aXferError)
صفات عمومی
amDriver
bool amDriver
amInitiator
bool amInitiator
amSender
bool amSender
پذیرفته شده است
bool isAccepted
isAsynch
bool isAsynch
انجام شد
bool isDone
آغاز شده است
bool isInitiated
دامنه وسیع است
bool isWideRange
AppState
void * theAppState
theBlockCounter
uint8_t theBlockCounter
اتصال
WeaveConnection * theConnection
theEncryptionType
uint8_t theEncryptionType
Error Handler
ErrorHandler theErrorHandler
theExchangeCtx
ExchangeContext * theExchangeCtx
theExchangeMgr
WeaveExchangeManager * theExchangeMgr
theFabricState
const WeaveFabricState * theFabricState
theFileDesignator
ReferencedString theFileDesignator
theGetBlockHandler
GetBlockHandler theGetBlockHandler
theKeyId
uint16_t theKeyId
طول
uint64_t theLength
theMaxBlockSize
uint16_t theMaxBlockSize
thePutBlockHandler
PutBlockHandler thePutBlockHandler
ReceiveAcceptHandler
ReceiveAcceptHandler theReceiveAcceptHandler
theReceiveInitHandler
ReceiveInitHandler theReceiveInitHandler
RejectHandler
RejectHandler theRejectHandler
SendAcceptHandler
SendAcceptHandler theSendAcceptHandler
SendInitHandler
SendInitHandler theSendInitHandler
theStartOffset
uint64_t theStartOffset
theXferDoneHandler
XferDoneHandler theXferDoneHandler
theXferErrorHandler
XferErrorHandler theXferErrorHandler
توابع عمومی
DispatchError Handler
void DispatchErrorHandler( WEAVE_ERROR anErrorCode )
DispatchGetBlockHandler
void DispatchGetBlockHandler( uint64_t *pLength, uint8_t **aDataBlock, bool *isLastBlock )
DispatchPutBlockHandler
void DispatchPutBlockHandler( uint64_t length, uint8_t *dataBlock, bool isLastBlock )
DispatchReceiveAccept
void DispatchReceiveAccept( ReceiveAccept *aReceiveAcceptMsg )
DispatchRejectHandler
void DispatchRejectHandler( StatusReport *aReport )
DispatchSendAccept
void DispatchSendAccept( SendAccept *aSendAcceptMsg )
DispatchXferDoneHandler
void DispatchXferDoneHandler()
DispatchXferErrorHandler
void DispatchXferErrorHandler( StatusReport *aXferError )
WeaveBdxClient
WeaveBdxClient()
awaitBdxInit
WEAVE_ERROR awaitBdxInit()
initBdxReceive
WEAVE_ERROR initBdxReceive( bool iCanDrive, ReceiveAcceptHandler anAcceptHandler, RejectHandler aRejectHandler, PutBlockHandler aBlockHandler, XferErrorHandler aXferErrorHandler, XferDoneHandler aDoneHandler, ErrorHandler anErrorHandler )
initBdxSend
WEAVE_ERROR initBdxSend( bool iCanDrive, bool uCanDrive, bool aSynchOK, SendAcceptHandler anAcceptHandler, RejectHandler aRejectHandler, GetBlockHandler aBlockHandler, XferErrorHandler aXferErrorHandler, XferDoneHandler aDoneHandler, ErrorHandler anErrorHandler, ReferencedTLVData *aMetaData )
initClient
WEAVE_ERROR initClient( WeaveExchangeManager *, void *, ReferencedString &, uint16_t, uint64_t, uint64_t, bool )
shutdownClient
WEAVE_ERROR shutdownClient()
shutdownClient
WEAVE_ERROR shutdownClient( WEAVE_ERROR aErr )
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-08-29 بهوقت ساعت هماهنگ جهانی.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"اطلاعاتی که نیاز دارم وجود ندارد"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"بیشازحد پیچیده/ مراحل بسیار زیاد"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"قدیمی"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"مشکل ترجمه"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشکل کد / نمونهها"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"غیره"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"درک آسان"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"مشکلم را برطرف کرد"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"غیره"
}]
{
"lastModified": "تاریخ آخرین بهروزرسانی 2024-08-29 بهوقت ساعت هماهنگ جهانی.",
"confidential": False
}