ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Cloud::OneDrive::OneDriveUploadRequest Class Reference

#include <onedriveuploadrequest.h>

Inheritance diagram for Cloud::OneDrive::OneDriveUploadRequest:
Collaboration diagram for Cloud::OneDrive::OneDriveUploadRequest:

List of all members.

Public Member Functions

 OneDriveUploadRequest (OneDriveStorage *storage, Common::String path, Common::SeekableReadStream *contents, Storage::UploadCallback callback, Networking::ErrorCallback ecb)
virtual ~OneDriveUploadRequest ()
virtual void handle ()
 Method, which does actual work.
virtual void restart ()
 Method, which is used to restart the Request.

Private Member Functions

void start ()
void uploadNextPart ()
void partUploadedCallback (Networking::JsonResponse response)
void partUploadedErrorCallback (Networking::ErrorResponse error)
void finishUpload (StorageFile status)

Private Attributes

Common::String _savePath
Storage::UploadCallback _uploadCallback
Request * _workingRequest
bool _ignoreCallback
Common::String _uploadUrl

Detailed Description

Definition at line 35 of file onedriveuploadrequest.h.

Constructor & Destructor Documentation

Cloud::OneDrive::OneDriveUploadRequest::OneDriveUploadRequest ( OneDriveStorage storage,
Common::String  path,
Common::SeekableReadStream contents,
Storage::UploadCallback  callback,
Networking::ErrorCallback  ecb 

Definition at line 37 of file onedriveuploadrequest.cpp.

Cloud::OneDrive::OneDriveUploadRequest::~OneDriveUploadRequest (  )  [virtual]

Definition at line 43 of file onedriveuploadrequest.cpp.

Member Function Documentation

void Cloud::OneDrive::OneDriveUploadRequest::finishUpload ( StorageFile  status  )  [private]

Definition at line 182 of file onedriveuploadrequest.cpp.

void Cloud::OneDrive::OneDriveUploadRequest::handle (  )  [virtual]

Method, which does actual work.

Depends on what this Request is doing.

Implements Networking::Request.

Definition at line 178 of file onedriveuploadrequest.cpp.

void Cloud::OneDrive::OneDriveUploadRequest::partUploadedCallback ( Networking::JsonResponse  response  )  [private]

Definition at line 115 of file onedriveuploadrequest.cpp.

void Cloud::OneDrive::OneDriveUploadRequest::partUploadedErrorCallback ( Networking::ErrorResponse  error  )  [private]

Definition at line 171 of file onedriveuploadrequest.cpp.

void Cloud::OneDrive::OneDriveUploadRequest::restart (  )  [virtual]

Method, which is used to restart the Request.

Implements Networking::Request.

Definition at line 180 of file onedriveuploadrequest.cpp.

void Cloud::OneDrive::OneDriveUploadRequest::start (  )  [private]

Definition at line 51 of file onedriveuploadrequest.cpp.

void Cloud::OneDrive::OneDriveUploadRequest::uploadNextPart (  )  [private]

Definition at line 70 of file onedriveuploadrequest.cpp.

Member Data Documentation

The documentation for this class was generated from the following files:

Generated on Sat Sep 19 2020 05:04:41 for ResidualVM by doxygen 1.7.1
curved edge   curved edge