透過集合功能整理內容 你可以依據偏好儲存及分類內容。

nl::Weave::設定檔::大量資料轉移::BdxDelegate

此為抽象類別。

總結

建構函式和解構程式

BdxDelegate(void)

受保護的屬性

mLength
uint64_t
mMaxBlockSize
uint16_t
mStartOffset
uint64_t

公開函式

EstablishWeaveConnection(ServiceDirectory::WeaveServiceManager & aServiceMgr, WeaveAuthMode anAuthMode)
Init(WeaveExchangeManager *anExchangeMgr, InetLayer *anInetLayer)
Shutdown(void)
StartBdxUploadingFile(void)
void
UploadInProgress(void)
bool

受保護的函式

BdxErrorHandler(WEAVE_ERROR aErrorCode)=0
virtual void
BdxGetBlockHandler(uint64_t *aLength, uint8_t **aDataBlock, bool *aLastBlock)=0
virtual void
BdxGetFileName(void)=0
virtual char *
BdxRejectHandler(StatusReport *aReport)=0
virtual void
BdxSendAcceptHandler(SendAccept *aSendAcceptMsg)=0
virtual void
BdxXferDoneHandler(void)=0
virtual void
BdxXferErrorHandler(StatusReport *aXferError)=0
virtual void
HandleWeaveConnectionClosed(WeaveConnection *aCon, WEAVE_ERROR aConErr)
virtual void
HandleWeaveConnectionComplete(WeaveConnection *aCon, WEAVE_ERROR aConErr)
virtual void
HandleWeaveServiceMgrStatus(void *anAppState, uint32_t aProfileId, uint16_t aStatusCode)
virtual void

受保護的屬性

毫秒長度

uint64_t mLength

廣告大小上限上限

uint16_t mMaxBlockSize

mStart 偏移

uint64_t mStartOffset

公開函式

BdxDelegate

 BdxDelegate(
  void
)

建立連線連線

WEAVE_ERROR EstablishWeaveConnection(
  ServiceDirectory::WeaveServiceManager & aServiceMgr,
  WeaveAuthMode anAuthMode
)

Init

WEAVE_ERROR Init(
  WeaveExchangeManager *anExchangeMgr,
  InetLayer *anInetLayer
)

停用

WEAVE_ERROR Shutdown(
  void
)

StartBdx 上載檔案

void StartBdxUploadingFile(
  void
)

上傳中

bool UploadInProgress(
  void
)

受保護的函式

BdxErrorHandler

virtual void BdxErrorHandler(
  WEAVE_ERROR aErrorCode
)=0

BdxGetBlockHandler

virtual void BdxGetBlockHandler(
  uint64_t *aLength,
  uint8_t **aDataBlock,
  bool *aLastBlock
)=0

BdxGetFileName

virtual char * BdxGetFileName(
  void
)=0

BdxRejectedHandler

virtual void BdxRejectHandler(
  StatusReport *aReport
)=0

BdxSendAcceptHandler

virtual void BdxSendAcceptHandler(
  SendAccept *aSendAcceptMsg
)=0

BdxXferDoneHandler

virtual void BdxXferDoneHandler(
  void
)=0

BdxXferErrorHandler

virtual void BdxXferErrorHandler(
  StatusReport *aXferError
)=0

處理常式 WeaveConnection 已關閉

virtual void HandleWeaveConnectionClosed(
  WeaveConnection *aCon,
  WEAVE_ERROR aConErr
)

處理 WeaveConnection 完成

virtual void HandleWeaveConnectionComplete(
  WeaveConnection *aCon,
  WEAVE_ERROR aConErr
)

處理 WeveveServiceMgrStatus

virtual void HandleWeaveServiceMgrStatus(
  void *anAppState,
  uint32_t aProfileId,
  uint16_t aStatusCode
)