LLContextURLExtractor Class Reference

This class unpacks the url out of a agent usher service so it can be packed into a LLURLRequest object. More...

#include <llurlrequest.h>

Inheritance diagram for LLContextURLExtractor:

Inheritance graph
Collaboration diagram for LLContextURLExtractor:

Collaboration graph
List of all members.

Public Member Functions

 LLContextURLExtractor (LLURLRequest *req)
 ~LLContextURLExtractor ()

Protected Member Functions

virtual EStatus process_impl (const LLChannelDescriptors &channels, buffer_ptr_t &buffer, bool &eos, LLSD &context, LLPumpIO *pump)
 Process the data in buffer.

Protected Attributes


Detailed Description

This class unpacks the url out of a agent usher service so it can be packed into a LLURLRequest object.

See also:
This class assumes that the context is a map that contains an entry named CONTEXT_DEST_URI_SD_LABEL.

Definition at line 265 of file llurlrequest.h.

Constructor & Destructor Documentation

LLContextURLExtractor::LLContextURLExtractor ( LLURLRequest req  )  [inline]

Definition at line 268 of file llurlrequest.h.

LLContextURLExtractor::~LLContextURLExtractor (  )  [inline]

Definition at line 269 of file llurlrequest.h.

Member Function Documentation

LLIOPipe::EStatus LLContextURLExtractor::process_impl ( const LLChannelDescriptors channels,
buffer_ptr_t buffer,
bool &  eos,
LLSD context,
LLPumpIO pump 
) [protected, virtual]

Process the data in buffer.


Definition at line 618 of file llurlrequest.cpp.

References CONTEXT_DEST_URI_SD_LABEL, LLSD::has(), LLChannelDescriptors::in(), LLSD::isUndefined(), mRequest, LLMemType::MTYPE_IO_URL_REQUEST, LLChannelDescriptors::out(), PUMP_DEBUG, LLURLRequest::setURL(), LLIOPipe::STATUS_DONE, LLIOPipe::STATUS_ERROR, and LLIOPipe::STATUS_PRECONDITION_NOT_MET.

Member Data Documentation

LLURLRequest* LLContextURLExtractor::mRequest [protected]

Definition at line 287 of file llurlrequest.h.

Referenced by process_impl().

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