LLTrustedMessageService Class Reference

Inheritance diagram for LLTrustedMessageService:

Inheritance graph
Collaboration diagram for LLTrustedMessageService:

Collaboration graph
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 145 of file message.cpp.

Member Function Documentation

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

Reimplemented from LLHTTPNode.

Definition at line 156 of file message.cpp.

References LLMessageSystem::dispatch(), LLMessageConfig::getSenderTrustedness(), gMessageSystem, LLMessageSystem::isTrustedMessage(), LLMessageSystem::isTrustedSender(), llendl, llwarns, LLMessageConfig::NOT_SET, and LLMessageConfig::TRUSTED.

virtual bool LLTrustedMessageService::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 147 of file message.cpp.

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