LLCurl::Responder Class Reference

#include <llcurl.h>

Inheritance diagram for LLCurl::Responder:

Inheritance graph
[legend]

List of all members.

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


Detailed Description

Definition at line 71 of file llcurl.h.


Constructor & Destructor Documentation

LLCurl::Responder::Responder (  ) 

Definition at line 106 of file llcurl.cpp.

LLCurl::Responder::~Responder (  )  [virtual]

Definition at line 111 of file llcurl.cpp.


Member Function Documentation

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

Here is the caller graph for this function:

void LLCurl::Responder::error ( U32  status,
const std::string &  reason 
) [virtual]

void LLCurl::Responder::result ( const LLSD content  )  [virtual]

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.

Here is the call graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

void LLCurl::Responder::completedHeader ( U32  status,
const std::string &  reason,
const LLSD content 
) [virtual]


Member Data Documentation

Definition at line 109 of file llcurl.h.

Referenced by boost::intrusive_ptr_add_ref(), and boost::intrusive_ptr_release().


The documentation for this class was generated from the following files:

Generated on Fri May 16 08:43:29 2008 for SecondLife by  doxygen 1.5.5