#include <llxmlrpctransaction.h>

Public Types | |
| enum | Status { StatusNotStarted, StatusStarted, StatusDownloading, StatusComplete, StatusCURLError, StatusXMLRPCError, StatusOtherError } |
Public Member Functions | |
| LLXMLRPCTransaction (const std::string &uri, XMLRPC_REQUEST request, bool useGzip=true) | |
| LLXMLRPCTransaction (const std::string &uri, const std::string &method, LLXMLRPCValue params, bool useGzip=true) | |
| ~LLXMLRPCTransaction () | |
| bool | process () |
| Status | status (int *curlCode) |
| std::string | statusMessage () |
| std::string | statusURI () |
| XMLRPC_REQUEST | response () |
| LLXMLRPCValue | responseValue () |
| F64 | transferRate () |
Private Attributes | |
| Impl & | impl |
Classes | |
| class | Impl |
Definition at line 87 of file llxmlrpctransaction.h.
| StatusNotStarted | |
| StatusStarted | |
| StatusDownloading | |
| StatusComplete | |
| StatusCURLError | |
| StatusXMLRPCError | |
| StatusOtherError |
Definition at line 102 of file llxmlrpctransaction.h.
| LLXMLRPCTransaction::LLXMLRPCTransaction | ( | const std::string & | uri, | |
| XMLRPC_REQUEST | request, | |||
| bool | useGzip = true | |||
| ) |
Definition at line 507 of file llxmlrpctransaction.cpp.
| LLXMLRPCTransaction::LLXMLRPCTransaction | ( | const std::string & | uri, | |
| const std::string & | method, | |||
| LLXMLRPCValue | params, | |||
| bool | useGzip = true | |||
| ) |
Definition at line 513 of file llxmlrpctransaction.cpp.
| LLXMLRPCTransaction::~LLXMLRPCTransaction | ( | ) |
| bool LLXMLRPCTransaction::process | ( | ) |
Definition at line 524 of file llxmlrpctransaction.cpp.
References impl, and LLXMLRPCTransaction::Impl::process().
Referenced by LLUserAuth::authResponse(), LLFloaterBuyLandUI::checkTransaction(), and LLCurrencyUIManager::Impl::checkTransaction().


| LLXMLRPCTransaction::Status LLXMLRPCTransaction::status | ( | int * | curlCode | ) |
Definition at line 529 of file llxmlrpctransaction.cpp.
References impl, LLXMLRPCTransaction::Impl::mCurlCode, LLXMLRPCTransaction::Impl::mStatus, and StatusCURLError.
Referenced by LLUserAuth::authResponse(), LLFloaterBuyLandUI::checkTransaction(), and LLCurrencyUIManager::Impl::checkTransaction().

| std::string LLXMLRPCTransaction::statusMessage | ( | ) |
Definition at line 542 of file llxmlrpctransaction.cpp.
References impl, and LLXMLRPCTransaction::Impl::mStatusMessage.
Referenced by LLUserAuth::authResponse(), LLFloaterBuyLandUI::checkTransaction(), and LLCurrencyUIManager::Impl::checkTransaction().

| std::string LLXMLRPCTransaction::statusURI | ( | ) |
Definition at line 547 of file llxmlrpctransaction.cpp.
References impl, and LLXMLRPCTransaction::Impl::mStatusURI.
Referenced by LLFloaterBuyLandUI::checkTransaction(), and LLCurrencyUIManager::Impl::checkTransaction().

| XMLRPC_REQUEST LLXMLRPCTransaction::response | ( | ) |
Definition at line 552 of file llxmlrpctransaction.cpp.
References impl, and LLXMLRPCTransaction::Impl::mResponse.
Referenced by LLUserAuth::parseResponse().

| LLXMLRPCValue LLXMLRPCTransaction::responseValue | ( | ) |
Definition at line 557 of file llxmlrpctransaction.cpp.
References impl, and LLXMLRPCTransaction::Impl::mResponse.
Referenced by LLCurrencyUIManager::Impl::finishCurrencyBuy(), LLCurrencyUIManager::Impl::finishCurrencyInfo(), LLFloaterBuyLandUI::finishWebSiteInfo(), and LLFloaterBuyLandUI::finishWebSitePrep().

| F64 LLXMLRPCTransaction::transferRate | ( | ) |
Definition at line 563 of file llxmlrpctransaction.cpp.
References impl, LL_DEBUGS, LL_ENDL, LL_INFOS, LLXMLRPCTransaction::Impl::mResponseText, LLCurl::TransferInfo::mSizeDownload, LLCurl::TransferInfo::mSpeedDownload, LLXMLRPCTransaction::Impl::mStatus, LLCurl::TransferInfo::mTotalTime, LLXMLRPCTransaction::Impl::mTransferInfo, and StatusComplete.
Referenced by LLUserAuth::authResponse().

Impl& LLXMLRPCTransaction::impl [private] |
Definition at line 132 of file llxmlrpctransaction.h.
Referenced by LLXMLRPCTransaction::Impl::curlDownloadCallback(), process(), response(), responseValue(), status(), statusMessage(), statusURI(), transferRate(), and ~LLXMLRPCTransaction().
1.5.5