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

Cloud::Dropbox::DropboxCreateDirectoryRequest Class Reference

#include <dropboxcreatedirectoryrequest.h>

Inheritance diagram for Cloud::Dropbox::DropboxCreateDirectoryRequest:
Collaboration diagram for Cloud::Dropbox::DropboxCreateDirectoryRequest:

List of all members.

Public Member Functions

 DropboxCreateDirectoryRequest (Common::String token, Common::String path, Storage::BoolCallback cb, Networking::ErrorCallback ecb)
virtual ~DropboxCreateDirectoryRequest ()
virtual void handle ()
 Method, which does actual work.
virtual void restart ()
 Method, which is used to restart the Request.
virtual Common::String date () const
 Return date this Request received from server.

Private Member Functions

void start ()
void responseCallback (Networking::JsonResponse response)
void errorCallback (Networking::ErrorResponse error)
void finishCreation (bool success)

Private Attributes

Common::String _token
Common::String _path
Storage::BoolCallback _boolCallback
Request * _workingRequest
bool _ignoreCallback
Common::String _date

Detailed Description

Definition at line 33 of file dropboxcreatedirectoryrequest.h.


Constructor & Destructor Documentation

Cloud::Dropbox::DropboxCreateDirectoryRequest::DropboxCreateDirectoryRequest ( Common::String  token,
Common::String  path,
Storage::BoolCallback  cb,
Networking::ErrorCallback  ecb 
)

Definition at line 35 of file dropboxcreatedirectoryrequest.cpp.

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

Definition at line 41 of file dropboxcreatedirectoryrequest.cpp.


Member Function Documentation

Common::String Cloud::Dropbox::DropboxCreateDirectoryRequest::date (  )  const [virtual]

Return date this Request received from server.

It could be extracted from "Date" header, which is kept in NetworkReadStream.

Note:
not all Requests do that, so "" is returned to indicate the date is unknown. That's also true if no server response available or no "Date" header was passed.
Returns:
date from "Date" response header.

Reimplemented from Networking::Request.

Definition at line 128 of file dropboxcreatedirectoryrequest.cpp.

void Cloud::Dropbox::DropboxCreateDirectoryRequest::errorCallback ( Networking::ErrorResponse  error  )  [private]

Definition at line 115 of file dropboxcreatedirectoryrequest.cpp.

void Cloud::Dropbox::DropboxCreateDirectoryRequest::finishCreation ( bool  success  )  [private]

Definition at line 130 of file dropboxcreatedirectoryrequest.cpp.

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

Method, which does actual work.

Depends on what this Request is doing.

Implements Networking::Request.

Definition at line 124 of file dropboxcreatedirectoryrequest.cpp.

void Cloud::Dropbox::DropboxCreateDirectoryRequest::responseCallback ( Networking::JsonResponse  response  )  [private]

Definition at line 68 of file dropboxcreatedirectoryrequest.cpp.

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

Method, which is used to restart the Request.

Implements Networking::Request.

Definition at line 126 of file dropboxcreatedirectoryrequest.cpp.

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

Definition at line 48 of file dropboxcreatedirectoryrequest.cpp.


Member Data Documentation


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


Generated on Sat Jul 13 2019 05:03:33 for ResidualVM by doxygen 1.7.1
curved edge   curved edge