Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
nl::Weave::Profiles::bulkDataTransfer::BdxDelegate
Đây là một lớp trừu tượng.
Tóm tắt
Thuộc tính được bảo vệ
độ dài
uint64_t mLength
mMaxBlockSize
uint16_t mMaxBlockSize
mStartoffset
uint64_t mStartOffset
Hàm công khai
BdxDelegate
BdxDelegate(
void
)
Thiết lập kết nối WeaveConnection
WEAVE_ERROR EstablishWeaveConnection(
ServiceDirectory::WeaveServiceManager & aServiceMgr,
WeaveAuthMode anAuthMode
)
Số nguyên
WEAVE_ERROR Init(
WeaveExchangeManager *anExchangeMgr,
InetLayer *anInetLayer
)
Tắt
WEAVE_ERROR Shutdown(
void
)
StartBdxUploadingFile
void StartBdxUploadingFile(
void
)
Đang tải lên
bool UploadInProgress(
void
)
Hàm được bảo vệ
Trình xử lý lỗi BdxLỗi
virtual void BdxErrorHandler(
WEAVE_ERROR aErrorCode
)=0
BdxGetBlockHandler
virtual void BdxGetBlockHandler(
uint64_t *aLength,
uint8_t **aDataBlock,
bool *aLastBlock
)=0
Tên tệp BdxGetFile
virtual char * BdxGetFileName(
void
)=0
Trình xử lý BdxTừ chối
virtual void BdxRejectHandler(
StatusReport *aReport
)=0
BdxSendSendHandler
virtual void BdxSendAcceptHandler(
SendAccept *aSendAcceptMsg
)=0
Trình xử lý BdxXferDoneHandler
virtual void BdxXferDoneHandler(
void
)=0
Trình xử lý lỗi XdxXfer
virtual void BdxXferErrorHandler(
StatusReport *aXferError
)=0
Tay cầm được kết nối
virtual void HandleWeaveConnectionClosed(
WeaveConnection *aCon,
WEAVE_ERROR aConErr
)
Tay điều khiển hoàn chỉnh
virtual void HandleWeaveConnectionComplete(
WeaveConnection *aCon,
WEAVE_ERROR aConErr
)
đối tượng xử lý dữ liệu cá nhân
virtual void HandleWeaveServiceMgrStatus(
void *anAppState,
uint32_t aProfileId,
uint16_t aStatusCode
)
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Thread is a registered trademark of the Thread Group, Inc.
Last updated 2018-06-05 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Thiếu thông tin tôi cần"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Quá phức tạp/quá nhiều bước"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Đã lỗi thời"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Vấn đề về bản dịch"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Vấn đề về mẫu/mã"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Khác"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Dễ hiểu"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Giúp tôi giải quyết được vấn đề"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Khác"
}]