mcloud  1.0.0
MCloud API library for cmcc cloud service
mcloud::api Namespace Reference

Classes

class  Client
 Mcloud API provides developer to easily access login user's cloud contents stored on mcloud, such as musics, movie, docs, images, and so on. More...
 
class  CloudContent
 CloudContent represents a content object on mcloud. the supported content type can be found. More...
 
class  CloudFolder
 CloudFolder represents a folder object on mcloud. More...
 
class  CloudResource
 CloudResource is an abstract object that provides common interfaces for CloudContent and CloudFolder. More...
 
class  CredentialException
 
class  DiskInfo
 DiskInfo is a class that provides basic user's mcloud storage usage information. More...
 
struct  DownloadBufferCb
 DownloadBufferCb is a download request object which consists of a content id and writing callback function allows content data can be received in buffering via call back function. More...
 
class  DownloadTask
 DownloadTask is a task item that can be accessed from application layer to fetch basic download item information, also it's used for content download by sync manager. More...
 
class  HttpTimeoutException
 Indicates a timeout on HTTP requests. More...
 
class  InvalidIDException
 Indicates an invalid content id when querying content infomation by an id. or an invalid folder id when listing or looup content in one specific folder. More...
 
class  NonExistentException
 
class  Outlink
 Outlink is a cloud extranet link that contains extranet link which can be share by user to others. More...
 
class  OutofSpaceException
 User ran out of space on mcloud storage. More...
 
class  ParameterInvalidException
 
class  SyncManager
 SyncManager handles all the requests to upload and download. It's constructed around two threads for content synchronization. One for content uploading to cloud, another for cloud item downloading to local. Both thread are running asynchronously. Calls. More...
 
class  Task
 Task is an abstract class that defines common interfaces for upload and download task. More...
 
class  TaskQueue
 A thread-safe deque template. More...
 
struct  UploadBufferCb
 UploadBufferCb is a upload request item which consists of a upload folder id, upload buffer size, upload content name and reading callback function allows content data can be received in buffering via call back function. More...
 
struct  UploadRequest
 UploadRequest is a upload request item which consists of a upload folder id, up-front buffer size, upload content name. More...
 
class  UploadTask
 UploadTask is a task item that can be accessed from application layer to fetch basic upload item information, also it's used for content upload by sync manager. More...
 

Typedefs

typedef std::vector< UploadRequestUploadRequestList
 
typedef std::vector< UploadBufferCbUploadBufferCbList
 

Typedef Documentation

◆ UploadBufferCbList

Definition at line 56 of file uploadtask.h.

◆ UploadRequestList

Definition at line 43 of file uploadtask.h.