нл:: Переплетение:: Профили:: BDX_Current:: WeaveBdxКлиент
Краткое содержание
Публичные типы |
---|
ErrorHandler )(void *aAppState, WEAVE_ERROR anErrorCode) | определение типа void(* |
GetBlockHandler )(void *aAppState, uint64_t *pLength, uint8_t **aDataBlock, bool *isLastBlock) | определение типа void(* |
PutBlockHandler )(uint64_t aLength, uint8_t *aDataBlock, bool isLastBlock) | определение типа void(* |
ReceiveAcceptHandler )(ReceiveAccept *aReceiveAcceptMsg) | определение типа void(* |
ReceiveInitHandler )(ReceiveInit *aReceiveInitMsg) | определение типа void(* |
RejectHandler )(void *aAppState, StatusReport *aReport) | определение типа void(* |
SendAcceptHandler )(void *aAppState, SendAccept *aSendAcceptMsg) | определение типа void(* |
SendInitHandler )(SendInit *aSendInitMsg) | определение типа void(* |
XferDoneHandler )(void *aAppState) | определение типа void(* |
XferErrorHandler )(void *aAppState, StatusReport *aXferError) | определение типа void(* |
Общественные функции |
---|
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) | |
Публичные типы
Обработчик ошибок
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)
ПолучениеAcceptHandler
void(* ReceiveAcceptHandler)(ReceiveAccept *aReceiveAcceptMsg)
Получениеинитхандлер
void(* ReceiveInitHandler)(ReceiveInit *aReceiveInitMsg)
Отклонить обработчик
void(* RejectHandler)(void *aAppState, StatusReport *aReport)
ОтправитьAcceptHandler
void(* SendAcceptHandler)(void *aAppState, SendAccept *aSendAcceptMsg)
Сенденитхандлер
void(* SendInitHandler)(SendInit *aSendInitMsg)
XferDoneHandler
void(* XferDoneHandler)(void *aAppState)
XferErrorHandler
void(* XferErrorHandler)(void *aAppState, StatusReport *aXferError)
Публичные атрибуты
amИнициатор
bool amInitiator
isAccepted
bool isAccepted
isInitiated
bool isInitiated
isWideRange
bool isWideRange
theAppState
void * theAppState
theBlockCounter
uint8_t theBlockCounter
тип шифрования
uint8_t theEncryptionType
theErrorHandler
ErrorHandler theErrorHandler
GetBlockHandler
GetBlockHandler theGetBlockHandler
theKeyId
uint16_t theKeyId
theMaxBlockSize
uint16_t theMaxBlockSize
обработчик PutBlockHandler
PutBlockHandler thePutBlockHandler
обработчикReceiveAcceptHandler
ReceiveAcceptHandler theReceiveAcceptHandler
обработчикReceiveInitHandler
ReceiveInitHandler theReceiveInitHandler
theRejectHandler
RejectHandler theRejectHandler
обработчик SendAcceptHandler
SendAcceptHandler theSendAcceptHandler
theSendInitHandler
SendInitHandler theSendInitHandler
началосмещение
uint64_t theStartOffset
theXferDoneHandler
XferDoneHandler theXferDoneHandler
theXferErrorHandler
XferErrorHandler theXferErrorHandler
Общественные функции
Диспетчереррорхандлер
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
)
ОтправкаПолучитьПринять
void DispatchReceiveAccept(
ReceiveAccept *aReceiveAcceptMsg
)
Обработчик диспетчеризацииRejectHandler
void DispatchRejectHandler(
StatusReport *aReport
)
ОтправкаОтправитьПринять
void DispatchSendAccept(
SendAccept *aSendAcceptMsg
)
DispatchXferDoneHandler
void DispatchXferDoneHandler()
DispatchXferErrorHandler
void DispatchXferErrorHandler(
StatusReport *aXferError
)
WeaveBdxКлиент
WeaveBdxClient()
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
)