#include <llcurl.h>
Public Member Functions | |
Responder () | |
virtual | ~Responder () |
virtual void | error (U32 status, const std::string &reason) |
virtual void | result (const LLSD &content) |
virtual void | completedRaw (U32 status, const std::string &reason, const LLChannelDescriptors &channels, const LLIOPipe::buffer_ptr_t &buffer) |
virtual void | completed (U32 status, const std::string &reason, const LLSD &content) |
virtual void | completedHeader (U32 status, const std::string &reason, const LLSD &content) |
Static Public Member Functions | |
static bool | isGoodStatus (U32 status) |
return true if the status code indicates success. | |
Public Attributes | |
U32 | mReferenceCount |
Definition at line 71 of file llcurl.h.
LLCurl::Responder::Responder | ( | ) |
Definition at line 106 of file llcurl.cpp.
LLCurl::Responder::~Responder | ( | ) | [virtual] |
Definition at line 111 of file llcurl.cpp.
static bool LLCurl::Responder::isGoodStatus | ( | U32 | status | ) | [inline, static] |
return true if the status code indicates success.
Definition at line 82 of file llcurl.h.
Referenced by completed(), and completedRaw().
void LLCurl::Responder::error | ( | U32 | status, | |
const std::string & | reason | |||
) | [virtual] |
Reimplemented in LLCrashLoggerResponder, LLAssetUploadResponder, LLClassifiedStatsResponder, LLEstateChangeInfoResponder, LLUserReportResponder, LLIamHere, LLMediaTypeResponder, LLStartConferenceChatResponder, LLVoiceCallCapResponder, LLSessionInviteResponder, LLViewerChatterBoxInvitationAcceptResponder, LLInventoryModel::fetchDescendentsResponder, LLStartGroupVoteResponder, LLGroupProposalBallotResponder, LLIamHereLogin, LLRemoteParcelRequestResponder, LLCopyInventoryFromNotecardResponder, LLMimeDiscoveryResponder, BaseCapabilitiesComplete, ViewerStatsResponder, LLViewerVoiceAccountProvisionResponder, LLVoiceClientCapResponder, and tut::HTTPClientTestData::Result.
Definition at line 116 of file llcurl.cpp.
References llendl, and llinfos.
Referenced by completed().
void LLCurl::Responder::result | ( | const LLSD & | content | ) | [virtual] |
Reimplemented in LLCrashLoggerResponder, LLAssetUploadResponder, LLClassifiedStatsResponder, LLEstateChangeInfoResponder, LLUserReportResponder, LLIamHere, LLVoiceCallCapResponder, LLViewerChatterBoxInvitationAcceptResponder, LLInventoryModel::fetchDescendentsResponder, LLMapLayerResponder, LLStartGroupVoteResponder, LLGroupProposalBallotResponder, LLIamHereLogin, LLRemoteParcelRequestResponder, LLCopyInventoryFromNotecardResponder, BaseCapabilitiesComplete, ViewerStatsResponder, LLViewerVoiceAccountProvisionResponder, LLVoiceClientCapResponder, and tut::HTTPClientTestData::Result.
Definition at line 122 of file llcurl.cpp.
Referenced by completed().
void LLCurl::Responder::completedRaw | ( | U32 | status, | |
const std::string & | reason, | |||
const LLChannelDescriptors & | channels, | |||
const LLIOPipe::buffer_ptr_t & | buffer | |||
) | [virtual] |
Definition at line 127 of file llcurl.cpp.
References completed(), LLSDSerialize::fromXML(), LLChannelDescriptors::in(), isGoodStatus(), NULL, and S32.
void LLCurl::Responder::completed | ( | U32 | status, | |
const std::string & | reason, | |||
const LLSD & | content | |||
) | [virtual] |
The default implemetnation calls either: result(), or error()
Reimplemented in tut::HTTPClientTestData::Result.
Definition at line 162 of file llcurl.cpp.
References error(), isGoodStatus(), and result().
Referenced by tut::HTTPClientTestData::Result::completed(), and completedRaw().
void LLCurl::Responder::completedHeader | ( | U32 | status, | |
const std::string & | reason, | |||
const LLSD & | content | |||
) | [virtual] |
Reimplemented in LLMediaTypeResponder, LLMimeDiscoveryResponder, and tut::HTTPClientTestData::Result.
Definition at line 178 of file llcurl.cpp.
Definition at line 109 of file llcurl.h.
Referenced by boost::intrusive_ptr_add_ref(), and boost::intrusive_ptr_release().