LLMessageHandlerBridge Class Reference

Inheritance diagram for LLMessageHandlerBridge:

Inheritance graph
[legend]
Collaboration diagram for LLMessageHandlerBridge:

Collaboration graph
[legend]
List of all members.

Private Member Functions

virtual bool validate (const std::string &name, LLSD &context) const
virtual void post (LLHTTPNode::ResponsePtr response, const LLSD &context, const LLSD &input) const

Detailed Description

Definition at line 190 of file message.cpp.


Member Function Documentation

void LLMessageHandlerBridge::post ( LLHTTPNode::ResponsePtr  response,
const LLSD context,
const LLSD input 
) const [private, virtual]

Reimplemented from LLHTTPNode.

Definition at line 200 of file message.cpp.

References LLSD::asString(), LLMessageSystem::callHandler(), LLMessageStringTable::getString(), gMessageStringTable, gMessageSystem, lldebugs, llendl, LLMessageSystem::mLastSender, LLMessageSystem::mLLSDMessageReader, LLMessageSystem::mMessageReader, LLMessageSystem::mPacketsIn, and LLSDMessageReader::setMessage().

virtual bool LLMessageHandlerBridge::validate ( const std::string &  name,
LLSD context 
) const [inline, private, virtual]

called only on wildcard nodes, to check if they will handle the name; default is false; overrides will want to check name, and return true if the name will construct to a valid url. For convenience, the getChild() method above will automatically insert the name in context["request"]["wildcard"][key] if this method returns true. For example, the node "agent/<agent_id>/detail" will set context["request"]["wildcard"]["agent_id"] eqaul to the value found during traversal.

Reimplemented from LLHTTPNode.

Definition at line 192 of file message.cpp.


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