tut::HTTPClientTestData Struct Reference

Collaboration diagram for tut::HTTPClientTestData:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 HTTPClientTestData ()
 ~HTTPClientTestData ()
void setupTheServer ()
void runThePump (float timeout=100.0f)
void killServer ()

Protected Member Functions

void ensureStatusOK ()
void ensureStatusError ()
LLSD getResult ()
LLSD getHeader ()
LLHTTPClient::ResponderPtr newResult ()

Protected Attributes

bool mSawError
U32 mStatus
std::string mReason
bool mSawCompleted
bool mSawCompletedHeader
LLSD mResult
LLSD mHeader
bool mResultDeleted

Private Attributes

apr_pool_tmPool
LLPumpIOmServerPump
LLPumpIOmClientPump

Friends

class Result

Classes

class  Result


Detailed Description

Definition at line 87 of file llhttpclient_tut.cpp.


Constructor & Destructor Documentation

tut::HTTPClientTestData::HTTPClientTestData (  )  [inline]

Definition at line 90 of file llhttpclient_tut.cpp.

References mClientPump, mPool, mServerPump, NULL, and LLHTTPClient::setPump().

Here is the call graph for this function:

tut::HTTPClientTestData::~HTTPClientTestData (  )  [inline]

Definition at line 99 of file llhttpclient_tut.cpp.

References mClientPump, mPool, and mServerPump.


Member Function Documentation

void tut::HTTPClientTestData::setupTheServer (  )  [inline]

Definition at line 106 of file llhttpclient_tut.cpp.

References LLHTTPRegistrar::buildAllServices(), LLIOHTTPServer::create(), mPool, mServerPump, and LLHTTPStandardServices::useServices().

Here is the call graph for this function:

void tut::HTTPClientTestData::runThePump ( float  timeout = 100.0f  )  [inline]

void tut::HTTPClientTestData::killServer (  )  [inline]

Definition at line 134 of file llhttpclient_tut.cpp.

References mServerPump, and NULL.

void tut::HTTPClientTestData::ensureStatusOK (  )  [inline, protected]

Definition at line 147 of file llhttpclient_tut.cpp.

References llformat(), mSawError, and mStatus.

Here is the call graph for this function:

void tut::HTTPClientTestData::ensureStatusError (  )  [inline, protected]

Definition at line 158 of file llhttpclient_tut.cpp.

References mSawError.

LLSD tut::HTTPClientTestData::getResult (  )  [inline, protected]

Definition at line 166 of file llhttpclient_tut.cpp.

References mResult.

LLSD tut::HTTPClientTestData::getHeader (  )  [inline, protected]

Definition at line 170 of file llhttpclient_tut.cpp.

References mHeader.

LLHTTPClient::ResponderPtr tut::HTTPClientTestData::newResult (  )  [inline, protected]

Definition at line 240 of file llhttpclient_tut.cpp.

References indra::ipc::servicebuilder::build(), LLSD::clear(), mHeader, mResult, mResultDeleted, mSawCompleted, mSawCompletedHeader, mSawError, and mStatus.

Here is the call graph for this function:


Friends And Related Function Documentation

friend class Result [friend]

Definition at line 237 of file llhttpclient_tut.cpp.


Member Data Documentation

Definition at line 141 of file llhttpclient_tut.cpp.

Referenced by HTTPClientTestData(), setupTheServer(), and ~HTTPClientTestData().

Definition at line 143 of file llhttpclient_tut.cpp.

Referenced by HTTPClientTestData(), runThePump(), and ~HTTPClientTestData().

std::string tut::HTTPClientTestData::mReason [protected]

Definition at line 178 of file llhttpclient_tut.cpp.

Referenced by tut::HTTPClientTestData::Result::error().

Definition at line 183 of file llhttpclient_tut.cpp.

Referenced by newResult(), and tut::HTTPClientTestData::Result::~Result().


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

Generated on Fri May 16 09:42:58 2008 for SecondLife by  doxygen 1.5.5