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

Cloud::Id::IdCreateDirectoryRequest Class Reference

#include <idcreatedirectoryrequest.h>

Inheritance diagram for Cloud::Id::IdCreateDirectoryRequest:
Collaboration diagram for Cloud::Id::IdCreateDirectoryRequest:

List of all members.

Public Member Functions

 IdCreateDirectoryRequest (IdStorage *storage, Common::String parentPath, Common::String directoryName, Storage::BoolCallback cb, Networking::ErrorCallback ecb)
virtual ~IdCreateDirectoryRequest ()
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 createdBaseDirectoryCallback (Storage::BoolResponse response)
void createdBaseDirectoryErrorCallback (Networking::ErrorResponse error)
void resolveId ()
void idResolvedCallback (Storage::UploadResponse response)
void idResolveFailedCallback (Networking::ErrorResponse error)
void createdDirectoryCallback (Storage::BoolResponse response)
void createdDirectoryErrorCallback (Networking::ErrorResponse error)
void finishCreation (bool success)

Private Attributes

Common::String _requestedParentPath
Common::String _requestedDirectoryName
IdStorage_storage
Storage::BoolCallback _boolCallback
Request * _workingRequest
bool _ignoreCallback
Common::String _date

Detailed Description

Definition at line 35 of file idcreatedirectoryrequest.h.


Constructor & Destructor Documentation

Cloud::Id::IdCreateDirectoryRequest::IdCreateDirectoryRequest ( IdStorage storage,
Common::String  parentPath,
Common::String  directoryName,
Storage::BoolCallback  cb,
Networking::ErrorCallback  ecb 
)

Definition at line 30 of file idcreatedirectoryrequest.cpp.

Cloud::Id::IdCreateDirectoryRequest::~IdCreateDirectoryRequest (  )  [virtual]

Definition at line 37 of file idcreatedirectoryrequest.cpp.


Member Function Documentation

void Cloud::Id::IdCreateDirectoryRequest::createdBaseDirectoryCallback ( Storage::BoolResponse  response  )  [private]

Definition at line 66 of file idcreatedirectoryrequest.cpp.

void Cloud::Id::IdCreateDirectoryRequest::createdBaseDirectoryErrorCallback ( Networking::ErrorResponse  error  )  [private]

Definition at line 75 of file idcreatedirectoryrequest.cpp.

void Cloud::Id::IdCreateDirectoryRequest::createdDirectoryCallback ( Storage::BoolResponse  response  )  [private]

Definition at line 132 of file idcreatedirectoryrequest.cpp.

void Cloud::Id::IdCreateDirectoryRequest::createdDirectoryErrorCallback ( Networking::ErrorResponse  error  )  [private]

Definition at line 141 of file idcreatedirectoryrequest.cpp.

Common::String Cloud::Id::IdCreateDirectoryRequest::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 154 of file idcreatedirectoryrequest.cpp.

void Cloud::Id::IdCreateDirectoryRequest::finishCreation ( bool  success  )  [private]

Definition at line 156 of file idcreatedirectoryrequest.cpp.

void Cloud::Id::IdCreateDirectoryRequest::handle (  )  [virtual]

Method, which does actual work.

Depends on what this Request is doing.

Implements Networking::Request.

Definition at line 150 of file idcreatedirectoryrequest.cpp.

void Cloud::Id::IdCreateDirectoryRequest::idResolvedCallback ( Storage::UploadResponse  response  )  [private]

Definition at line 95 of file idcreatedirectoryrequest.cpp.

void Cloud::Id::IdCreateDirectoryRequest::idResolveFailedCallback ( Networking::ErrorResponse  error  )  [private]

Definition at line 106 of file idcreatedirectoryrequest.cpp.

void Cloud::Id::IdCreateDirectoryRequest::resolveId (  )  [private]

Definition at line 84 of file idcreatedirectoryrequest.cpp.

void Cloud::Id::IdCreateDirectoryRequest::restart (  )  [virtual]

Method, which is used to restart the Request.

Implements Networking::Request.

Definition at line 152 of file idcreatedirectoryrequest.cpp.

void Cloud::Id::IdCreateDirectoryRequest::start (  )  [private]

Definition at line 44 of file idcreatedirectoryrequest.cpp.


Member Data Documentation


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


Generated on Sat Jan 12 2019 05:03:58 for ResidualVM by doxygen 1.7.1
curved edge   curved edge