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

 STATE_INVOKE
 STATE_DELAYED
 STATE_LOCKED
 STATE_GOOD_RESULT
 STATE_STATUS_RESULT
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.


Member Function Documentation

void LLHTTPPipe::lockChain ( LLPumpIO  )  [private]

Definition at line 306 of file lliohttpserver.cpp.

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

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::unlockChain (  )  [private]

Definition at line 314 of file lliohttpserver.cpp.

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

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


Friends And Related Function Documentation

friend class Response [friend]

Definition at line 110 of file lliohttpserver.cpp.


Member Data Documentation

S32 LLHTTPPipe::mChainLock [private]

Definition at line 124 of file lliohttpserver.cpp.

Referenced by lockChain(), and unlockChain().

LLSD LLHTTPPipe::mGoodResult [private]

Definition at line 130 of file lliohttpserver.cpp.

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

LLPumpIO* LLHTTPPipe::mLockedPump [private]

Definition at line 125 of file lliohttpserver.cpp.

Referenced by lockChain(), and unlockChain().

const LLHTTPNode& LLHTTPPipe::mNode [private]

Definition at line 91 of file lliohttpserver.cpp.

LLPointer<Response> LLHTTPPipe::mResponse [private]

Definition at line 112 of file lliohttpserver.cpp.

Referenced by ~LLHTTPPipe().

State LLHTTPPipe::mState [private]

Definition at line 122 of file lliohttpserver.cpp.

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

S32 LLHTTPPipe::mStatusCode [private]

Definition at line 131 of file lliohttpserver.cpp.

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

std::string LLHTTPPipe::mStatusMessage [private]

Definition at line 132 of file lliohttpserver.cpp.

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


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