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

Cloud::Box::BoxUploadRequest Class Reference

#include <boxuploadrequest.h>

Inheritance diagram for Cloud::Box::BoxUploadRequest:
Collaboration diagram for Cloud::Box::BoxUploadRequest:

List of all members.

Public Member Functions

 BoxUploadRequest (BoxStorage *storage, Common::String path, Common::String localPath, Storage::UploadCallback callback, Networking::ErrorCallback ecb)
virtual ~BoxUploadRequest ()
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 resolveId ()
void idResolvedCallback (Storage::UploadResponse response)
void idResolveFailedCallback (Networking::ErrorResponse error)
void upload ()
void uploadedCallback (Networking::JsonResponse response)
void notUploadedCallback (Networking::ErrorResponse error)
void finishUpload (StorageFile status)

Private Attributes

Common::String _savePath
Common::String _localPath
Storage::UploadCallback _uploadCallback
Request * _workingRequest
bool _ignoreCallback
Common::String _resolvedId
Common::String _parentId

Detailed Description

Definition at line 35 of file boxuploadrequest.h.

Constructor & Destructor Documentation

Cloud::Box::BoxUploadRequest::BoxUploadRequest ( BoxStorage storage,
Common::String  path,
Common::String  localPath,
Storage::UploadCallback  callback,
Networking::ErrorCallback  ecb 

Definition at line 38 of file boxuploadrequest.cpp.

Cloud::Box::BoxUploadRequest::~BoxUploadRequest (  )  [virtual]

Definition at line 44 of file boxuploadrequest.cpp.

Member Function Documentation

void Cloud::Box::BoxUploadRequest::finishUpload ( StorageFile  status  )  [private]

Definition at line 225 of file boxuploadrequest.cpp.

void Cloud::Box::BoxUploadRequest::handle (  )  [virtual]

Method, which does actual work.

Depends on what this Request is doing.

Implements Networking::Request.

Definition at line 221 of file boxuploadrequest.cpp.

void Cloud::Box::BoxUploadRequest::idResolvedCallback ( Storage::UploadResponse  response  )  [private]

Definition at line 69 of file boxuploadrequest.cpp.

void Cloud::Box::BoxUploadRequest::idResolveFailedCallback ( Networking::ErrorResponse  error  )  [private]

Definition at line 76 of file boxuploadrequest.cpp.

void Cloud::Box::BoxUploadRequest::notUploadedCallback ( Networking::ErrorResponse  error  )  [private]

Definition at line 215 of file boxuploadrequest.cpp.

void Cloud::Box::BoxUploadRequest::resolveId (  )  [private]

Definition at line 62 of file boxuploadrequest.cpp.

void Cloud::Box::BoxUploadRequest::restart (  )  [virtual]

Method, which is used to restart the Request.

Implements Networking::Request.

Definition at line 223 of file boxuploadrequest.cpp.

void Cloud::Box::BoxUploadRequest::start (  )  [private]

Definition at line 51 of file boxuploadrequest.cpp.

void Cloud::Box::BoxUploadRequest::upload (  )  [private]

Definition at line 98 of file boxuploadrequest.cpp.

void Cloud::Box::BoxUploadRequest::uploadedCallback ( Networking::JsonResponse  response  )  [private]

Definition at line 131 of file boxuploadrequest.cpp.

Member Data Documentation

Definition at line 40 of file boxuploadrequest.h.

Definition at line 39 of file boxuploadrequest.h.

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

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