mcloud
1.0.0
MCloud API library for cmcc cloud service
|
Cmcloud::api::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 |
▼Cmcloud::api::CloudResource | CloudResource is an abstract object that provides common interfaces for CloudContent and CloudFolder |
Cmcloud::api::CloudContent | CloudContent represents a content object on mcloud. the supported content type can be found |
Cmcloud::api::CloudFolder | CloudFolder represents a folder object on mcloud |
Cmcloud::api::DiskInfo | DiskInfo is a class that provides basic user's mcloud storage usage information |
Cmcloud::api::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 |
▼Cstd::exception | STL class |
▼Cstd::runtime_error | STL class |
Cmcloud::api::CredentialException | |
Cmcloud::api::HttpTimeoutException | Indicates a timeout on HTTP requests |
Cmcloud::api::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 |
Cmcloud::api::NonExistentException | |
Cmcloud::api::OutofSpaceException | User ran out of space on mcloud storage |
Cmcloud::api::ParameterInvalidException | |
Cmcloud::api::Outlink | Outlink is a cloud extranet link that contains extranet link which can be share by user to others |
Cmcloud::api::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 |
▼Cmcloud::api::Task | Task is an abstract class that defines common interfaces for upload and download task |
Cmcloud::api::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 |
Cmcloud::api::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 |
Cmcloud::api::TaskQueue< T, Container > | A thread-safe deque template |
Cmcloud::api::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 |
Cmcloud::api::UploadRequest | UploadRequest is a upload request item which consists of a upload folder id, up-front buffer size, upload content name |