summaryrefslogtreecommitdiff
path: root/indra/llmessage/llsdmessage.h
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2009-05-27 21:17:22 +0000
committerNat Goodspeed <nat@lindenlab.com>2009-05-27 21:17:22 +0000
commitf910157c1662dedb9791efc1439ff09f1f3efbf8 (patch)
treeaaeff22de57e9080db219336dda81a346211aabd /indra/llmessage/llsdmessage.h
parent657f8e45faf77b4c53b0d178b83cf2071744ee90 (diff)
DEV-31979: Introduce LLReqID, a class to help individual event API listeners
implement the ["reqid"] convention. This convention dictates that a response LLSD from each such API should contain a ["reqid"] key whose value echoes the ["reqid"] value, if any, in the request LLSD. Add LLReqID support to LLAresListener's "rewriteURI" service, LLSDMessage, LLCapabilityListener and LLXMLRPCListener.
Diffstat (limited to 'indra/llmessage/llsdmessage.h')
-rw-r--r--indra/llmessage/llsdmessage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llmessage/llsdmessage.h b/indra/llmessage/llsdmessage.h
index 8ae9451243..672da6d3a6 100644
--- a/indra/llmessage/llsdmessage.h
+++ b/indra/llmessage/llsdmessage.h
@@ -121,9 +121,11 @@ private:
* (e.g. "POST") as @a message.
*/
EventResponder(LLEventPumps& pumps,
+ const LLSD& request,
const std::string& target, const std::string& message,
const std::string& replyPump, const std::string& errorPump):
mPumps(pumps),
+ mReqID(request),
mTarget(target),
mMessage(message),
mReplyPump(replyPump),
@@ -135,6 +137,7 @@ private:
private:
LLEventPumps& mPumps;
+ LLReqID mReqID;
const std::string mTarget, mMessage, mReplyPump, mErrorPump;
};