1 #ifndef CBE__delegate__DownloadBinaryDelegate_h__
2 #define CBE__delegate__DownloadBinaryDelegate_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 DownloadBinarySuccess;
39 std::unique_ptr<
char[]> data) = 0;
58 std::uint64_t received,
Holder of a set of data, can represent a table row.
Definition: Object.h:64
Definition: DownloadBinaryDelegate.h:24
virtual void onDownloadBinarySuccess(cbe::Object &&object, std::unique_ptr< char[]> data)=0
virtual void onChunkReceived(cbe::Object &&object, std::uint64_t received, std::uint64_t total)
virtual void onDownloadBinaryError(cbe::delegate::TransferError &&transferError, cbe::util::Context &&context)=0
Convenience type that bundles all parameters passed to method cbe::delegate::DownloadBinaryDelegate::...
Definition: DownloadBinarySuccess.h:17
Definition: TransferError.h:18
std::shared_ptr< DownloadBinaryDelegate > DownloadBinaryDelegatePtr
Definition: DownloadBinaryDelegate.h:87
Root namespace for the CloudBackend SDK API.
Definition: Account.h:22
Definition: DownloadBinaryDelegate.h:63
Definition: ErrorInfo.h:27
Definition: Exception.h:38