1 #ifndef CBE__delegate__DownloadDelegate_h__
2 #define CBE__delegate__DownloadDelegate_h__
4 #include "cbe/QueryResult.h"
7 #include "cbe/delegate/TransferError.h"
9 #include "cbe/util/Context.h"
10 #include "cbe/util/ErrorInfo.h"
11 #include "cbe/util/Exception.h"
17 class DownloadSuccess;
50 std::uint64_t received,
Holder of a set of data, can represent a table row.
Definition: Object.h:64
Definition: DownloadDelegate.h:25
virtual void onChunkReceived(cbe::Object &&object, std::uint64_t received, std::uint64_t total)
virtual void onDownloadSuccess(cbe::Object &&object, std::string path)=0
virtual void onDownloadError(cbe::delegate::TransferError &&transferError, cbe::util::Context &&context)=0
Convenience type that bundles all parameters passed to method cbe::delegate::DownloadDelegate::onDown...
Definition: DownloadSuccess.h:16
Definition: TransferError.h:18
std::shared_ptr< DownloadDelegate > DownloadDelegatePtr
Definition: DownloadDelegate.h:84
Root namespace for the CloudBackend SDK API.
Definition: Account.h:22
Definition: DownloadDelegate.h:56
Definition: ErrorInfo.h:27
Definition: Exception.h:38