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

Cloud::Id::IdResolveIdRequest Class Reference

#include <idresolveidrequest.h>

Inheritance diagram for Cloud::Id::IdResolveIdRequest:
Collaboration diagram for Cloud::Id::IdResolveIdRequest:

List of all members.

Public Member Functions

 IdResolveIdRequest (IdStorage *storage, Common::String path, Storage::UploadCallback cb, Networking::ErrorCallback ecb, bool recursive=false)
virtual ~IdResolveIdRequest ()
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 listNextDirectory (StorageFile fileToReturn)
void listedDirectoryCallback (Storage::FileArrayResponse response)
void listedDirectoryErrorCallback (Networking::ErrorResponse error)
void finishFile (StorageFile file)

Private Attributes

Common::String _requestedPath
IdStorage_storage
Storage::UploadCallback _uploadCallback
Common::String _currentDirectory
Common::String _currentDirectoryId
Request * _workingRequest
bool _ignoreCallback

Detailed Description

Definition at line 35 of file idresolveidrequest.h.


Constructor & Destructor Documentation

Cloud::Id::IdResolveIdRequest::IdResolveIdRequest ( IdStorage storage,
Common::String  path,
Storage::UploadCallback  cb,
Networking::ErrorCallback  ecb,
bool  recursive = false 
)

Definition at line 29 of file idresolveidrequest.cpp.

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

Definition at line 36 of file idresolveidrequest.cpp.


Member Function Documentation

void Cloud::Id::IdResolveIdRequest::finishFile ( StorageFile  file  )  [private]

Definition at line 129 of file idresolveidrequest.cpp.

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

Method, which does actual work.

Depends on what this Request is doing.

Implements Networking::Request.

Definition at line 125 of file idresolveidrequest.cpp.

void Cloud::Id::IdResolveIdRequest::listedDirectoryCallback ( Storage::FileArrayResponse  response  )  [private]

debug(9, "'%s'", currentLevelName.c_str());

debug(9, "'%s'", currentLevelName.c_str());

debug(9, "'%s'", currentLevelName.c_str());

debug(9, "IdResolveIdRequest: searching for '%s' in '%s'", currentLevelName.c_str(), _currentDirectory.c_str());

debug(9, "IdResolveIdRequest: found it! new directory and its id: '%s', '%s'", _currentDirectory.c_str(), _currentDirectoryId.c_str());

Definition at line 67 of file idresolveidrequest.cpp.

void Cloud::Id::IdResolveIdRequest::listedDirectoryErrorCallback ( Networking::ErrorResponse  error  )  [private]

Definition at line 118 of file idresolveidrequest.cpp.

void Cloud::Id::IdResolveIdRequest::listNextDirectory ( StorageFile  fileToReturn  )  [private]

Definition at line 56 of file idresolveidrequest.cpp.

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

Method, which is used to restart the Request.

Implements Networking::Request.

Definition at line 127 of file idresolveidrequest.cpp.

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

Definition at line 43 of file idresolveidrequest.cpp.


Member Data Documentation

Definition at line 42 of file idresolveidrequest.h.

Definition at line 41 of file idresolveidrequest.h.


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