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

Cloud::Id::IdStreamFileRequest Class Reference

#include <idstreamfilerequest.h>

Inheritance diagram for Cloud::Id::IdStreamFileRequest:
Collaboration diagram for Cloud::Id::IdStreamFileRequest:

List of all members.

Public Member Functions

 IdStreamFileRequest (IdStorage *storage, Common::String path, Networking::NetworkReadStreamCallback cb, Networking::ErrorCallback ecb)
virtual ~IdStreamFileRequest ()
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 idResolvedCallback (Storage::UploadResponse response)
void idResolveFailedCallback (Networking::ErrorResponse error)
void streamFileCallback (Networking::NetworkReadStreamResponse response)
void streamFileErrorCallback (Networking::ErrorResponse error)
void finishStream (Networking::NetworkReadStream *stream)

Private Attributes

Common::String _requestedFile
Networking::NetworkReadStreamCallback _streamCallback
Request * _workingRequest
bool _ignoreCallback

Detailed Description

Definition at line 35 of file idstreamfilerequest.h.

Constructor & Destructor Documentation

Cloud::Id::IdStreamFileRequest::IdStreamFileRequest ( IdStorage storage,
Common::String  path,
Networking::NetworkReadStreamCallback  cb,
Networking::ErrorCallback  ecb 

Definition at line 29 of file idstreamfilerequest.cpp.

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

Definition at line 35 of file idstreamfilerequest.cpp.

Member Function Documentation

void Cloud::Id::IdStreamFileRequest::finishStream ( Networking::NetworkReadStream stream  )  [private]

Definition at line 91 of file idstreamfilerequest.cpp.

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

Method, which does actual work.

Depends on what this Request is doing.

Implements Networking::Request.

Definition at line 87 of file idstreamfilerequest.cpp.

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

Definition at line 56 of file idstreamfilerequest.cpp.

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

Definition at line 66 of file idstreamfilerequest.cpp.

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

Method, which is used to restart the Request.

Implements Networking::Request.

Definition at line 89 of file idstreamfilerequest.cpp.

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

Definition at line 42 of file idstreamfilerequest.cpp.

void Cloud::Id::IdStreamFileRequest::streamFileCallback ( Networking::NetworkReadStreamResponse  response  )  [private]

Definition at line 73 of file idstreamfilerequest.cpp.

void Cloud::Id::IdStreamFileRequest::streamFileErrorCallback ( Networking::ErrorResponse  error  )  [private]

Definition at line 80 of file idstreamfilerequest.cpp.

Member Data Documentation

Definition at line 40 of file idstreamfilerequest.h.

Definition at line 39 of file idstreamfilerequest.h.

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

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