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 LLHTTPNode & | mNode |
LLPointer< Response > | mResponse |
State | mState |
S32 | mChainLock |
LLPumpIO * | mLockedPump |
LLSD | mGoodResult |
S32 | mStatusCode |
std::string | mStatusMessage |
Friends | |
class | Response |
Classes | |
class | Response |
Definition at line 68 of file lliohttpserver.cpp.
enum LLHTTPPipe::State [private] |
Definition at line 114 of file lliohttpserver.cpp.
LLHTTPPipe::LLHTTPPipe | ( | const LLHTTPNode & | node | ) | [inline] |
Definition at line 71 of file lliohttpserver.cpp.
virtual LLHTTPPipe::~LLHTTPPipe | ( | ) | [inline, virtual] |
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] |
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().
friend class Response [friend] |
Definition at line 110 of file lliohttpserver.cpp.
S32 LLHTTPPipe::mChainLock [private] |
LLSD LLHTTPPipe::mGoodResult [private] |
LLPumpIO* LLHTTPPipe::mLockedPump [private] |
const LLHTTPNode& LLHTTPPipe::mNode [private] |
Definition at line 91 of file lliohttpserver.cpp.
LLPointer<Response> LLHTTPPipe::mResponse [private] |
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().