LLHTTPPipe Class Reference

Inheritance diagram for LLHTTPPipe:

Inheritance graph
[legend]
Collaboration diagram for LLHTTPPipe:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLHTTPPipe (const LLHTTPNode &node)
virtual ~LLHTTPPipe ()

Private Types

enum  State {
  STATE_INVOKE, STATE_DELAYED, STATE_LOCKED, STATE_GOOD_RESULT,
  STATE_STATUS_RESULT
}

Private Member Functions

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

Private Attributes

const LLHTTPNodemNode
LLPointer< ResponsemResponse
State mState
S32 mChainLock
LLPumpIOmLockedPump
LLSD mGoodResult
S32 mStatusCode
std::string mStatusMessage

Friends

class Response

Classes

class  Response


Detailed Description

Definition at line 68 of file lliohttpserver.cpp.


Member Enumeration Documentation

enum LLHTTPPipe::State [private]

Enumerator:
STATE_INVOKE 
STATE_DELAYED 
STATE_LOCKED 
STATE_GOOD_RESULT 
STATE_STATUS_RESULT 

Definition at line 114 of file lliohttpserver.cpp.


Constructor & Destructor Documentation

LLHTTPPipe::LLHTTPPipe ( const LLHTTPNode node  )  [inline]

Definition at line 71 of file lliohttpserver.cpp.

virtual LLHTTPPipe::~LLHTTPPipe (  )  [inline, virtual]

Definition at line 74 of file lliohttpserver.cpp.

References mResponse, and LLPointer< Type >::notNull().

Here is the call graph for this function:


Member Function Documentation

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

Process the data in buffer.

Implements LLIOPipe.

void LLHTTPPipe::lockChain ( LLPumpIO pump  )  [private]

Definition at line 308 of file lliohttpserver.cpp.

References mChainLock, mLockedPump, and LLPumpIO::setLock().

Here is the call graph for this function:

void LLHTTPPipe::unlockChain (  )  [private]

Definition at line 316 of file lliohttpserver.cpp.

References LLPumpIO::clearLock(), mChainLock, mLockedPump, and NULL.

Referenced by LLHTTPPipe::Response::result(), and LLHTTPPipe::Response::status().

Here is the call graph for this function:

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class Response [friend]

Definition at line 110 of file lliohttpserver.cpp.


Member Data Documentation

const LLHTTPNode& LLHTTPPipe::mNode [private]

Definition at line 91 of file lliohttpserver.cpp.

Definition at line 112 of file lliohttpserver.cpp.

Referenced by ~LLHTTPPipe().

Definition at line 124 of file lliohttpserver.cpp.

Referenced by lockChain(), and unlockChain().

Definition at line 125 of file lliohttpserver.cpp.

Referenced by lockChain(), and unlockChain().

Definition at line 130 of file lliohttpserver.cpp.

Referenced by LLHTTPPipe::Response::result().

std::string LLHTTPPipe::mStatusMessage [private]


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

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