19 #ifndef MCLOUD_API_SYNCMANAGER_H_ 20 #define MCLOUD_API_SYNCMANAGER_H_ 34 class SyncManagerPriv;
47 typedef std::shared_ptr<SyncManager>
Ptr;
151 DownloadList download_queue();
158 UploadList upload_queue();
163 friend class ClientPriv;
165 std::shared_ptr<SyncManagerPriv> p_;
171 #endif // MCLOUD_API_SYNCMANAGER_H_ A thread-safe deque template.
UploadBufferCb is a upload request item which consists of a upload folder id, upload buffer size...
DownloadBufferCb is a download request object which consists of a content id and writing callback fun...
std::shared_ptr< UploadTask > Ptr
std::shared_ptr< DownloadTask > Ptr
SyncManager handles all the requests to upload and download. It's constructed around two threads for ...
std::shared_ptr< SyncManager > Ptr
UploadRequest is a upload request item which consists of a upload folder id, up-front buffer size...
TaskQueue< UploadTask::Ptr > UploadList
TaskQueue< DownloadTask::Ptr > DownloadList
#define MCLOUD_API_DLL_PUBLIC
std::vector< std::string > Stringlist