Google is committed to advancing racial equity for Black communities. See how.

nl::Weave::Profiles::BDX_Current::WeaveBdxDelegate

This is an abstract class.

Summary

Constructors and Destructors

WeaveBdxDelegate(void)

Protected attributes

mLength
uint64_t
mMaxBlockSize
uint16_t
mStartOffset
uint64_t

Public functions

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

Protected functions

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

Protected attributes

mLength

uint64_t mLength

mMaxBlockSize

uint16_t mMaxBlockSize

mStartOffset

uint64_t mStartOffset

Public functions

EstablishWeaveConnection

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

Init

WEAVE_ERROR Init(
  WeaveExchangeManager *pExchangeMgr,
  InetLayer *pInetLayer
)

Shutdown

WEAVE_ERROR Shutdown(
  void
)

StartBdxUploadingFile

void StartBdxUploadingFile(
  void
)

UploadInProgress

bool UploadInProgress(
  void
)

WeaveBdxDelegate

 WeaveBdxDelegate(
  void
)

Protected functions

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

BdxRejectHandler

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

HandleWeaveConnectionClosed

virtual void HandleWeaveConnectionClosed(
  WeaveConnection *con,
  WEAVE_ERROR conErr
)

HandleWeaveConnectionComplete

virtual void HandleWeaveConnectionComplete(
  WeaveConnection *con,
  WEAVE_ERROR conErr
)

HandleWeaveServiceMgrStatus

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