#include <llxmlrpctransaction.h>
Collaboration diagram for LLXMLRPCTransaction:
Public Types | |
StatusNotStarted | |
StatusStarted | |
StatusDownloading | |
StatusComplete | |
StatusCURLError | |
StatusXMLRPCError | |
StatusOtherError | |
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 524 of file llxmlrpctransaction.cpp.
LLXMLRPCTransaction::LLXMLRPCTransaction | ( | const std::string & | uri, | |
const std::string & | method, | |||
LLXMLRPCValue | params, | |||
bool | useGzip = true | |||
) |
Definition at line 530 of file llxmlrpctransaction.cpp.
LLXMLRPCTransaction::~LLXMLRPCTransaction | ( | ) |
bool LLXMLRPCTransaction::process | ( | ) |
Definition at line 541 of file llxmlrpctransaction.cpp.
References impl, and LLXMLRPCTransaction::Impl::process().
Referenced by LLUserAuth::authResponse(), LLFloaterBuyLandUI::checkTransaction(), and LLCurrencyUIManager::Impl::checkTransaction().
XMLRPC_REQUEST LLXMLRPCTransaction::response | ( | ) |
Definition at line 569 of file llxmlrpctransaction.cpp.
References impl, and LLXMLRPCTransaction::Impl::mResponse.
Referenced by LLUserAuth::parseResponse().
LLXMLRPCValue LLXMLRPCTransaction::responseValue | ( | ) |
Definition at line 574 of file llxmlrpctransaction.cpp.
References impl, and LLXMLRPCTransaction::Impl::mResponse.
Referenced by LLCurrencyUIManager::Impl::finishCurrencyBuy(), LLCurrencyUIManager::Impl::finishCurrencyInfo(), LLFloaterBuyLandUI::finishWebSiteInfo(), and LLFloaterBuyLandUI::finishWebSitePrep().
LLXMLRPCTransaction::Status LLXMLRPCTransaction::status | ( | int * | curlCode | ) |
Definition at line 546 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 559 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 564 of file llxmlrpctransaction.cpp.
References impl, and LLXMLRPCTransaction::Impl::mStatusURI.
Referenced by LLFloaterBuyLandUI::checkTransaction(), and LLCurrencyUIManager::Impl::checkTransaction().
F64 LLXMLRPCTransaction::transferRate | ( | ) |
Definition at line 580 of file llxmlrpctransaction.cpp.
References impl, llendl, llinfos, LLXMLRPCTransaction::Impl::mCurl, LLXMLRPCTransaction::Impl::mResponseText, LLXMLRPCTransaction::Impl::mStatus, 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().