LLAssetUploadResponder Class Reference

#include <llassetuploadresponders.h>

Inheritance diagram for LLAssetUploadResponder:

Inheritance graph
[legend]
Collaboration diagram for LLAssetUploadResponder:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLAssetUploadResponder (const LLSD &post_data, const LLUUID &vfile_id, LLAssetType::EType asset_type)
 LLAssetUploadResponder (const LLSD &post_data, const std::string &file_name)
 ~LLAssetUploadResponder ()
virtual void error (U32 statusNum, const std::string &reason)
virtual void result (const LLSD &content)
virtual void uploadUpload (const LLSD &content)
virtual void uploadComplete (const LLSD &content)
virtual void uploadFailure (const LLSD &content)

Protected Attributes

LLSD mPostData
LLUUID mVFileID
LLAssetType::EType mAssetType
std::string mFileName


Detailed Description

Definition at line 39 of file llassetuploadresponders.h.


Constructor & Destructor Documentation

LLAssetUploadResponder::LLAssetUploadResponder ( const LLSD post_data,
const LLUUID vfile_id,
LLAssetType::EType  asset_type 
)

Definition at line 58 of file llassetuploadresponders.cpp.

References LLAssetType::AT_NONE, LLVFS::getExists(), gVFS, llendl, llwarns, mAssetType, mVFileID, and LLUUID::setNull().

Here is the call graph for this function:

LLAssetUploadResponder::LLAssetUploadResponder ( const LLSD post_data,
const std::string &  file_name 
)

Definition at line 75 of file llassetuploadresponders.cpp.

LLAssetUploadResponder::~LLAssetUploadResponder (  ) 

Definition at line 83 of file llassetuploadresponders.cpp.

References mFileName, and LLFile::remove().

Here is the call graph for this function:


Member Function Documentation

void LLAssetUploadResponder::error ( U32  statusNum,
const std::string &  reason 
) [virtual]

Reimplemented from LLCurl::Responder.

Definition at line 93 of file llassetuploadresponders.cpp.

References LLViewerWindow::alertXml(), LLUUID::asString(), gViewerWindow, llendl, llinfos, mFileName, LLUploadDialog::modalUploadFinished(), and mVFileID.

Here is the call graph for this function:

void LLAssetUploadResponder::result ( const LLSD content  )  [virtual]

Reimplemented from LLCurl::Responder.

Definition at line 118 of file llassetuploadresponders.cpp.

References gVFS, lldebugs, llendl, mAssetType, mFileName, mVFileID, LLVFS::renameFile(), uploadComplete(), uploadFailure(), and uploadUpload().

Here is the call graph for this function:

void LLAssetUploadResponder::uploadUpload ( const LLSD content  )  [virtual]

Definition at line 143 of file llassetuploadresponders.cpp.

References mAssetType, mFileName, mVFileID, and LLHTTPClient::postFile().

Referenced by result().

Here is the call graph for this function:

Here is the caller graph for this function:

void LLAssetUploadResponder::uploadComplete ( const LLSD content  )  [virtual]

Reimplemented in LLNewAgentInventoryResponder, LLUpdateAgentInventoryResponder, LLUpdateTaskInventoryResponder, LLSendPostcardResponder, and LLUserReportScreenshotResponder.

Definition at line 173 of file llassetuploadresponders.cpp.

Referenced by result().

Here is the caller graph for this function:

void LLAssetUploadResponder::uploadFailure ( const LLSD content  )  [virtual]

Definition at line 156 of file llassetuploadresponders.cpp.

References LLViewerWindow::alertXml(), LLSD::asString(), LLUUID::asString(), LLFloaterBuyCurrency::buyCurrency(), LLSingleton< T >::getInstance(), gViewerWindow, mFileName, and mVFileID.

Referenced by result().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 56 of file llassetuploadresponders.h.

Referenced by LLAssetUploadResponder(), result(), and uploadUpload().

std::string LLAssetUploadResponder::mFileName [protected]


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

Generated on Fri May 16 08:39:10 2008 for SecondLife by  doxygen 1.5.5