#include <llinventorymodel.h>
Public Types | |
typedef std::vector < LLViewerInventoryCategory * > | folder_ref_t |
Public Member Functions | |
fetchDescendentsResponder (const LLSD &request_sd) | |
void | result (const LLSD &content) |
void | error (U32 status, const std::string &reason) |
Static Public Member Functions | |
static void | onClickRetry (S32 option, void *userdata) |
static void | appendRetryList (LLSD retry_sd) |
Protected Attributes | |
LLSD | mRequestSD |
Static Protected Attributes | |
static LLSD | sRetrySD |
static LLAlertDialog * | sRetryDialog = NULL |
Definition at line 113 of file llinventorymodel.h.
typedef std::vector<LLViewerInventoryCategory*> LLInventoryModel::fetchDescendentsResponder::folder_ref_t |
Definition at line 122 of file llinventorymodel.h.
LLInventoryModel::fetchDescendentsResponder::fetchDescendentsResponder | ( | const LLSD & | request_sd | ) | [inline] |
Definition at line 116 of file llinventorymodel.h.
void LLInventoryModel::fetchDescendentsResponder::result | ( | const LLSD & | content | ) | [virtual] |
Reimplemented from LLCurl::Responder.
Definition at line 1027 of file llinventorymodel.cpp.
References LLSD::asString(), LLSD::endArray(), gAgent, LLInventoryModel::getCategory(), LLAgent::getID(), LLSD::has(), LLInventoryModel::incrBulkFetch(), LLInventoryModel::isBulkFetchProcessingComplete(), LLInventoryModel::isCategoryComplete(), llendl, llinfos, llwarns, LLInventoryModel::notifyObservers(), S32, LLInventoryModel::sAllFoldersFetched, LLViewerInventoryCategory::setDescendentCount(), LLViewerInventoryCategory::setVersion(), sFetchQueue, LLInventoryModel::sFullFetchStarted, LLInventoryModel::stopBackgroundFetch(), TRUE, LLInventoryModel::updateCategory(), and LLInventoryModel::updateItem().
void LLInventoryModel::fetchDescendentsResponder::error | ( | U32 | status, | |
const std::string & | reason | |||
) | [virtual] |
Reimplemented from LLCurl::Responder.
Definition at line 1120 of file llinventorymodel.cpp.
References LLViewerWindow::alertXml(), LLSD::append(), LLSD::endArray(), gViewerWindow, LLInventoryModel::incrBulkFetch(), LLInventoryModel::isBulkFetchProcessingComplete(), llendl, llinfos, mRequestSD, LLInventoryModel::notifyObservers(), onClickRetry(), LLInventoryModel::sAllFoldersFetched, LLInventoryModel::sFullFetchStarted, LLInventoryModel::sMinTimeBetweenFetches, sRetryDialog, sRetrySD, LLInventoryModel::stopBackgroundFetch(), and TRUE.
void LLInventoryModel::fetchDescendentsResponder::onClickRetry | ( | S32 | option, | |
void * | userdata | |||
) | [static] |
Definition at line 1157 of file llinventorymodel.cpp.
References LLSD::clear(), gAgent, LLViewerRegion::getCapability(), LLAgent::getRegion(), LLInventoryModel::incrBulkFetch(), LLInventoryModel::isBulkFetchProcessingComplete(), NULL, LLHTTPClient::post(), LLInventoryModel::sAllFoldersFetched, LLInventoryModel::sFullFetchStarted, sRetryDialog, sRetrySD, LLInventoryModel::stopBackgroundFetch(), and TRUE.
Referenced by error().
static void LLInventoryModel::fetchDescendentsResponder::appendRetryList | ( | LLSD | retry_sd | ) | [static] |
LLSD LLInventoryModel::fetchDescendentsResponder::sRetrySD [static, protected] |
LLAlertDialog * LLInventoryModel::fetchDescendentsResponder::sRetryDialog = NULL [static, protected] |