NL::编织::简介:: BDX_Current:: WeaveBdxClient

概括

构造函数和析构函数

WeaveBdxClient ()

公共类型

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(*

公共属性

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
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)

公共类型

错误处理程序

void(* 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)

ReceiveAcceptHandler

void(* ReceiveAcceptHandler)(ReceiveAccept *aReceiveAcceptMsg)

接收初始化处理程序

void(* ReceiveInitHandler)(ReceiveInit *aReceiveInitMsg)

拒绝处理程序

void(* RejectHandler)(void *aAppState, StatusReport *aReport)

发送接受处理程序

void(* SendAcceptHandler)(void *aAppState, SendAccept *aSendAcceptMsg)

发送初始化处理程序

void(* SendInitHandler)(SendInit *aSendInitMsg)

XferDoneHandler

void(* XferDoneHandler)(void *aAppState)

XferErrorHandler

void(* XferErrorHandler)(void *aAppState, StatusReport *aXferError)

公共属性

驱动程序

bool amDriver

发起人

bool amInitiator

发件人

bool amSender

被接受

bool isAccepted

异步

bool isAsynch

已经完成了

bool isDone

已启动

bool isInitiated

isWideRange

bool isWideRange

应用程序状态

void * theAppState

块计数器

uint8_t theBlockCounter

连接

WeaveConnection * theConnection

加密类型

uint8_t theEncryptionType

错误处理程序

ErrorHandler theErrorHandler

ExchangeCtx

ExchangeContext * theExchangeCtx

交易所经理

WeaveExchangeManager * theExchangeMgr

织物状态

const WeaveFabricState * theFabricState

文件设计器

ReferencedString theFileDesignator

获取块处理程序

GetBlockHandler theGetBlockHandler

密钥 ID

uint16_t theKeyId

长度

uint64_t theLength

最大块大小

uint16_t theMaxBlockSize

放置块处理程序

PutBlockHandler thePutBlockHandler

接收接受处理程序

ReceiveAcceptHandler theReceiveAcceptHandler

接收初始化处理程序

ReceiveInitHandler theReceiveInitHandler

拒绝处理程序

RejectHandler theRejectHandler

发送接受处理程序

SendAcceptHandler theSendAcceptHandler

发送初始化处理程序

SendInitHandler theSendInitHandler

起始偏移量

uint64_t theStartOffset

XferDoneHandler

XferDoneHandler theXferDoneHandler

XferErrorHandler

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
)

调度拒绝处理程序

void DispatchRejectHandler(
  StatusReport *aReport
)

调度发送接受

void DispatchSendAccept(
  SendAccept *aSendAcceptMsg
)

DispatchXferDoneHandler

void DispatchXferDoneHandler()

DispatchXferErrorHandler

void DispatchXferErrorHandler(
  StatusReport *aXferError
)

WeaveBdxClient

l10n-占位符=49

等待BdxInit

l10n-占位符=50

initBdxReceive

l10n-占位符=51

initBdxSend

l10n-占位符=52

初始化客户端

l10n-占位符=53

关机客户端

l10n-占位符=54

关机客户端

l10n-占位符=55