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

nl::Weave::設定檔::BDX_Current::WeaveBdxDelegate

此為抽象類別。

總結

建構函式和解構程式

WeaveBdxDelegate(void)

受保護的屬性

mLength
uint64_t
mMaxBlockSize
uint16_t
mStartOffset
uint64_t

公開函式

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

受保護的函式

BdxErrorHandler(WEAVE_ERROR anErrorCode)=0
virtual void
BdxGetBlockHandler(uint64_t *pLength, uint8_t **aDataBlock, bool *isLastBlock)=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 *con, WEAVE_ERROR conErr)
virtual void
HandleWeaveConnectionComplete(WeaveConnection *con, WEAVE_ERROR conErr)
virtual void
HandleWeaveServiceMgrStatus(void *anAppState, uint32_t aProfileId, uint16_t aStatusCode)
virtual void

受保護的屬性

毫秒長度

uint64_t mLength

廣告大小上限上限

uint16_t mMaxBlockSize

mStart 偏移

uint64_t mStartOffset

公開函式

建立連線連線

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

Init

WEAVE_ERROR Init(
  WeaveExchangeManager *pExchangeMgr,
  InetLayer *pInetLayer
)

停用

WEAVE_ERROR Shutdown(
  void
)

StartBdx 上載檔案

void StartBdxUploadingFile(
  void
)

上傳中

bool UploadInProgress(
  void
)

WeaveBdxDelegate

 WeaveBdxDelegate(
  void
)

受保護的函式

BdxErrorHandler

virtual void BdxErrorHandler(
  WEAVE_ERROR anErrorCode
)=0

BdxGetBlockHandler

virtual void BdxGetBlockHandler(
  uint64_t *pLength,
  uint8_t **aDataBlock,
  bool *isLastBlock
)=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 *con,
  WEAVE_ERROR conErr
)

處理 WeaveConnection 完成

virtual void HandleWeaveConnectionComplete(
  WeaveConnection *con,
  WEAVE_ERROR conErr
)

處理 WeveveServiceMgrStatus

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