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

Cloud::OneDrive::OneDriveCreateDirectoryRequest Class Reference

#include <onedrivecreatedirectoryrequest.h>

Inheritance diagram for Cloud::OneDrive::OneDriveCreateDirectoryRequest:
Collaboration diagram for Cloud::OneDrive::OneDriveCreateDirectoryRequest:

List of all members.

Public Member Functions

 OneDriveCreateDirectoryRequest (OneDriveStorage *storage, Common::String path, Storage::BoolCallback cb, Networking::ErrorCallback ecb)
virtual ~OneDriveCreateDirectoryRequest ()
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

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

Detailed Description

Definition at line 35 of file onedrivecreatedirectoryrequest.h.


Constructor & Destructor Documentation

Cloud::OneDrive::OneDriveCreateDirectoryRequest::OneDriveCreateDirectoryRequest ( OneDriveStorage storage,
Common::String  path,
Storage::BoolCallback  cb,
Networking::ErrorCallback  ecb 
)

Definition at line 36 of file onedrivecreatedirectoryrequest.cpp.

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

Definition at line 42 of file onedrivecreatedirectoryrequest.cpp.


Member Function Documentation

Common::String Cloud::OneDrive::OneDriveCreateDirectoryRequest::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 141 of file onedrivecreatedirectoryrequest.cpp.

void Cloud::OneDrive::OneDriveCreateDirectoryRequest::errorCallback ( Networking::ErrorResponse  error  )  [private]

Definition at line 128 of file onedrivecreatedirectoryrequest.cpp.

void Cloud::OneDrive::OneDriveCreateDirectoryRequest::finishCreation ( bool  success  )  [private]

Definition at line 143 of file onedrivecreatedirectoryrequest.cpp.

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

Method, which does actual work.

Depends on what this Request is doing.

Implements Networking::Request.

Definition at line 137 of file onedrivecreatedirectoryrequest.cpp.

void Cloud::OneDrive::OneDriveCreateDirectoryRequest::responseCallback ( Networking::JsonResponse  response  )  [private]

Definition at line 89 of file onedrivecreatedirectoryrequest.cpp.

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

Method, which is used to restart the Request.

Implements Networking::Request.

Definition at line 139 of file onedrivecreatedirectoryrequest.cpp.

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

Definition at line 49 of file onedrivecreatedirectoryrequest.cpp.


Member Data Documentation


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


Generated on Sat Jul 20 2019 05:02:37 for ResidualVM by doxygen 1.7.1
curved edge   curved edge