nl:: بافت:: پروفایل ها:: BulkData Transfer:: Bdx Delegate

این یک کلاس انتزاعی است.

خلاصه

سازندگان و ویرانگرها

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

mMaxBlockSize

uint16_t mMaxBlockSize

mStartOffset

uint64_t mStartOffset

توابع عمومی

Bdx Delegate

 BdxDelegate(
  void
)

WeaveConnection را برقرار کنید

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

شروع کنید

WEAVE_ERROR Init(
  WeaveExchangeManager *anExchangeMgr,
  InetLayer *anInetLayer
)

خاموش شدن

WEAVE_ERROR Shutdown(
  void
)

StartBdxUploadingFile

void StartBdxUploadingFile(
  void
)

UploadInProgress

bool UploadInProgress(
  void
)

توابع محافظت شده

BdxError Handler

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

BdxRejectHandler

virtual void BdxRejectHandler(
  StatusReport *aReport
)=0

BdxSendAcceptHandler

virtual void BdxSendAcceptHandler(
  SendAccept *aSendAcceptMsg
)=0

BdxXferDoneHandler

virtual void BdxXferDoneHandler(
  void
)=0

BdxXferError Handler

virtual void BdxXferErrorHandler(
  StatusReport *aXferError
)=0

HandleWeaveConnectionClosed

virtual void HandleWeaveConnectionClosed(
  WeaveConnection *aCon,
  WEAVE_ERROR aConErr
)

HandleWeaveConnectionComplete

virtual void HandleWeaveConnectionComplete(
  WeaveConnection *aCon,
  WEAVE_ERROR aConErr
)

HandleWeaveServiceMgrStatus

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