使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
nl::Weave::Profiles::BDX_Current::WeaveBdxClient
摘要
公共函数
|
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)
|
|
公共类型
ErrorHandler
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
isAccepted
bool isAccepted
isAsynch
bool isAsynch
isDone
bool isDone
isInitiated
bool isInitiated
isWideRange
bool isWideRange
theAppState
void * theAppState
theBlockCounter
uint8_t theBlockCounter
theConnection
WeaveConnection * theConnection
theEncryptionType
uint8_t theEncryptionType
theErrorHandler
ErrorHandler theErrorHandler
theExchangeCtx
ExchangeContext * theExchangeCtx
theExchangeMgr
WeaveExchangeManager * theExchangeMgr
theFabricState
const WeaveFabricState * theFabricState
theFileDesignator
ReferencedString theFileDesignator
theGetBlockHandler
GetBlockHandler theGetBlockHandler
theKeyId
uint16_t theKeyId
theLength
uint64_t theLength
theMaxBlockSize
uint16_t theMaxBlockSize
thePutBlockHandler
PutBlockHandler thePutBlockHandler
theReceiveAcceptHandler
ReceiveAcceptHandler theReceiveAcceptHandler
theReceiveInitHandler
ReceiveInitHandler theReceiveInitHandler
theRejectHandler
RejectHandler theRejectHandler
theSendAcceptHandler
SendAcceptHandler theSendAcceptHandler
theSendInitHandler
SendInitHandler theSendInitHandler
theStartOffset
uint64_t theStartOffset
theXferDoneHandler
XferDoneHandler theXferDoneHandler
theXferErrorHandler
XferErrorHandler theXferErrorHandler
公共函数
DispatchErrorHandler
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
)
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。Thread 是 Thread Group, Inc. 的注册商标。
最后更新时间 (UTC):2023-12-02。
[{
"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":"其他"
}]