LLXMLRPCTransaction Class Reference

#include <llxmlrpctransaction.h>

Collaboration diagram for LLXMLRPCTransaction:

Collaboration graph
[legend]
List of all members.

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

Implimpl

Classes

class  Impl

Detailed Description

Definition at line 87 of file llxmlrpctransaction.h.


Member Enumeration Documentation

enum LLXMLRPCTransaction::Status

Enumerator:
StatusNotStarted 
StatusStarted 
StatusDownloading 
StatusComplete 
StatusCURLError 
StatusXMLRPCError 
StatusOtherError 

Definition at line 102 of file llxmlrpctransaction.h.


Constructor & Destructor Documentation

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 (  ) 

Definition at line 536 of file llxmlrpctransaction.cpp.

References impl.


Member Function Documentation

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().


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:12:05 2010 for Second Life Viewer by  doxygen 1.4.7