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

Cloud::Dropbox::DropboxUploadRequest Class Reference

#include <dropboxuploadrequest.h>

Inheritance diagram for Cloud::Dropbox::DropboxUploadRequest:
Collaboration diagram for Cloud::Dropbox::DropboxUploadRequest:

List of all members.

Public Member Functions

 DropboxUploadRequest (Common::String token, Common::String path, Common::SeekableReadStream *contents, Storage::UploadCallback callback, Networking::ErrorCallback ecb)
virtual ~DropboxUploadRequest ()
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 _token
Common::String _savePath
Common::SeekableReadStream_contentsStream
Storage::UploadCallback _uploadCallback
Request * _workingRequest
bool _ignoreCallback
Common::String _sessionId

Detailed Description

Definition at line 34 of file dropboxuploadrequest.h.


Constructor & Destructor Documentation

Cloud::Dropbox::DropboxUploadRequest::DropboxUploadRequest ( Common::String  token,
Common::String  path,
Common::SeekableReadStream contents,
Storage::UploadCallback  callback,
Networking::ErrorCallback  ecb 
)

Definition at line 37 of file dropboxuploadrequest.cpp.

Cloud::Dropbox::DropboxUploadRequest::~DropboxUploadRequest (  )  [virtual]

Definition at line 43 of file dropboxuploadrequest.cpp.


Member Function Documentation

void Cloud::Dropbox::DropboxUploadRequest::finishUpload ( StorageFile  status  )  [private]

Definition at line 197 of file dropboxuploadrequest.cpp.

void Cloud::Dropbox::DropboxUploadRequest::handle (  )  [virtual]

Method, which does actual work.

Depends on what this Request is doing.

Implements Networking::Request.

Definition at line 193 of file dropboxuploadrequest.cpp.

void Cloud::Dropbox::DropboxUploadRequest::partUploadedCallback ( Networking::JsonResponse  response  )  [private]

Definition at line 124 of file dropboxuploadrequest.cpp.

void Cloud::Dropbox::DropboxUploadRequest::partUploadedErrorCallback ( Networking::ErrorResponse  error  )  [private]

Definition at line 186 of file dropboxuploadrequest.cpp.

void Cloud::Dropbox::DropboxUploadRequest::restart (  )  [virtual]

Method, which is used to restart the Request.

Implements Networking::Request.

Definition at line 195 of file dropboxuploadrequest.cpp.

void Cloud::Dropbox::DropboxUploadRequest::start (  )  [private]

Definition at line 51 of file dropboxuploadrequest.cpp.

void Cloud::Dropbox::DropboxUploadRequest::uploadNextPart (  )  [private]

Definition at line 70 of file dropboxuploadrequest.cpp.


Member Data Documentation


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


Generated on Sat Nov 16 2019 05:02:42 for ResidualVM by doxygen 1.7.1
curved edge   curved edge