#include <llassetuploadresponders.h>
Inheritance diagram for LLAssetUploadResponder:


| 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 | 
Definition at line 39 of file llassetuploadresponders.h.
| LLAssetUploadResponder::LLAssetUploadResponder | ( | const LLSD & | post_data, | |
| const LLUUID & | vfile_id, | |||
| LLAssetType::EType | asset_type | |||
| ) | 
Definition at line 59 of file llassetuploadresponders.cpp.
References LLAssetType::AT_NONE, LLVFS::getExists(), gVFS, llendl, llwarns, mAssetType, mVFileID, and LLUUID::setNull().
| LLAssetUploadResponder::LLAssetUploadResponder | ( | const LLSD & | post_data, | |
| const std::string & | file_name | |||
| ) | 
Definition at line 76 of file llassetuploadresponders.cpp.
| LLAssetUploadResponder::~LLAssetUploadResponder | ( | ) | 
Definition at line 84 of file llassetuploadresponders.cpp.
References mFileName, and LLFile::remove().
Reimplemented from LLHTTPClient::Responder.
Definition at line 94 of file llassetuploadresponders.cpp.
References LLViewerWindow::alertXml(), LLUUID::asString(), gViewerWindow, llendl, llinfos, mFileName, LLUploadDialog::modalUploadFinished(), and mVFileID.
Reimplemented from LLHTTPClient::Responder.
Definition at line 119 of file llassetuploadresponders.cpp.
References LLSD::asUUID(), gVFS, lldebugs, llendl, mAssetType, mFileName, mVFileID, LLVFS::renameFile(), uploadComplete(), uploadFailure(), and uploadUpload().
Reimplemented in LLNewAgentInventoryResponder, LLUpdateAgentInventoryResponder, LLUpdateTaskInventoryResponder, LLSendPostcardResponder, and LLUserReportScreenshotResponder.
Definition at line 174 of file llassetuploadresponders.cpp.
Referenced by result().
Definition at line 157 of file llassetuploadresponders.cpp.
References LLViewerWindow::alertXml(), LLSD::asString(), LLUUID::asString(), LLFloaterBuyCurrency::buyCurrency(), LLGlobalEconomy::getPriceUpload(), gGlobalEconomy, gViewerWindow, mFileName, and mVFileID.
Referenced by result().
Definition at line 144 of file llassetuploadresponders.cpp.
References mAssetType, mFileName, mVFileID, and LLHTTPClient::postFile().
Referenced by result().
| LLAssetType::EType LLAssetUploadResponder::mAssetType  [protected] | 
Definition at line 56 of file llassetuploadresponders.h.
Referenced by LLAssetUploadResponder(), result(), and uploadUpload().
| std::string LLAssetUploadResponder::mFileName  [protected] | 
Definition at line 57 of file llassetuploadresponders.h.
Referenced by error(), result(), uploadFailure(), uploadUpload(), and ~LLAssetUploadResponder().
| LLSD LLAssetUploadResponder::mPostData  [protected] | 
Definition at line 54 of file llassetuploadresponders.h.
Referenced by LLUpdateTaskInventoryResponder::uploadComplete(), LLUpdateAgentInventoryResponder::uploadComplete(), and LLNewAgentInventoryResponder::uploadComplete().
| LLUUID LLAssetUploadResponder::mVFileID  [protected] | 
Definition at line 55 of file llassetuploadresponders.h.
Referenced by error(), LLAssetUploadResponder(), result(), LLUpdateAgentInventoryResponder::uploadComplete(), uploadFailure(), and uploadUpload().
 1.4.7
 1.4.7