
Public Member Functions | |
| HTTPClientTestData () | |
| ~HTTPClientTestData () | |
| void | setupTheServer () |
| void | runThePump (float timeout=100.0f) |
| void | killServer () |
Protected Member Functions | |
| void | ensureStatusOK () |
| void | ensureStatusError () |
| LLSD | getResult () |
| LLHTTPClient::ResponderPtr | newResult () |
Protected Attributes | |
| bool | mSawError |
| U32 | mStatus |
| std::string | mReason |
| bool | mSawCompleted |
| LLSD | mResult |
| bool | mResultDeleted |
Private Attributes | |
| apr_pool_t * | mPool |
| LLPumpIO * | mServerPump |
| LLPumpIO * | mClientPump |
Friends | |
| class | Result |
Classes | |
| class | Result |
Definition at line 87 of file llhttpclient_tut.cpp.
| tut::HTTPClientTestData::HTTPClientTestData | ( | ) | [inline] |
Definition at line 90 of file llhttpclient_tut.cpp.
References mClientPump, mPool, mServerPump, NULL, and LLHTTPClient::setPump().
| tut::HTTPClientTestData::~HTTPClientTestData | ( | ) | [inline] |
| void tut::HTTPClientTestData::ensureStatusError | ( | ) | [inline, protected] |
| void tut::HTTPClientTestData::ensureStatusOK | ( | ) | [inline, protected] |
| LLSD tut::HTTPClientTestData::getResult | ( | ) | [inline, protected] |
| void tut::HTTPClientTestData::killServer | ( | ) | [inline] |
| LLHTTPClient::ResponderPtr tut::HTTPClientTestData::newResult | ( | ) | [inline, protected] |
Definition at line 226 of file llhttpclient_tut.cpp.
References tut::HTTPClientTestData::Result::build(), LLSD::clear(), mResult, mResultDeleted, mSawCompleted, mSawError, and mStatus.
| void tut::HTTPClientTestData::runThePump | ( | float | timeout = 100.0f |
) | [inline] |
Definition at line 114 of file llhttpclient_tut.cpp.
References LLPumpIO::callback(), LLTimer::hasExpired(), mClientPump, mSawCompleted, mServerPump, LLPumpIO::pump(), and LLTimer::setTimerExpirySec().
| void tut::HTTPClientTestData::setupTheServer | ( | ) | [inline] |
Definition at line 106 of file llhttpclient_tut.cpp.
References LLHTTPRegistrar::buildAllServices(), LLIOHTTPServer::create(), mPool, mServerPump, and LLHTTPStandardServices::useServices().
friend class Result [friend] |
Definition at line 223 of file llhttpclient_tut.cpp.
LLPumpIO* tut::HTTPClientTestData::mClientPump [private] |
Definition at line 143 of file llhttpclient_tut.cpp.
Referenced by HTTPClientTestData(), runThePump(), and ~HTTPClientTestData().
apr_pool_t* tut::HTTPClientTestData::mPool [private] |
Definition at line 141 of file llhttpclient_tut.cpp.
Referenced by HTTPClientTestData(), setupTheServer(), and ~HTTPClientTestData().
std::string tut::HTTPClientTestData::mReason [protected] |
Definition at line 174 of file llhttpclient_tut.cpp.
Referenced by tut::HTTPClientTestData::Result::error().
LLSD tut::HTTPClientTestData::mResult [protected] |
Definition at line 176 of file llhttpclient_tut.cpp.
Referenced by getResult(), newResult(), and tut::HTTPClientTestData::Result::result().
bool tut::HTTPClientTestData::mResultDeleted [protected] |
Definition at line 177 of file llhttpclient_tut.cpp.
Referenced by newResult(), and tut::HTTPClientTestData::Result::~Result().
bool tut::HTTPClientTestData::mSawCompleted [protected] |
Definition at line 175 of file llhttpclient_tut.cpp.
Referenced by tut::HTTPClientTestData::Result::completed(), newResult(), and runThePump().
bool tut::HTTPClientTestData::mSawError [protected] |
Definition at line 172 of file llhttpclient_tut.cpp.
Referenced by ensureStatusError(), ensureStatusOK(), tut::HTTPClientTestData::Result::error(), and newResult().
LLPumpIO* tut::HTTPClientTestData::mServerPump [private] |
Definition at line 142 of file llhttpclient_tut.cpp.
Referenced by HTTPClientTestData(), killServer(), runThePump(), setupTheServer(), and ~HTTPClientTestData().
U32 tut::HTTPClientTestData::mStatus [protected] |
Definition at line 173 of file llhttpclient_tut.cpp.
Referenced by ensureStatusOK(), tut::HTTPClientTestData::Result::error(), and newResult().
1.4.7