summaryrefslogtreecommitdiff
path: root/indra/lib
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2011-08-30 09:52:25 -0400
committerNat Goodspeed <nat@lindenlab.com>2011-08-30 09:52:25 -0400
commit5fb224bb8196e77259bef2a0ef60e82533c358a2 (patch)
tree1d0362a3b480cf422b279d14d5e9766c5b162961 /indra/lib
parentf08d7fba9f2134a687169d8da478a44bdbe16955 (diff)
CHOP-763: make sendReply() treat replyKey as optional.
It's not worth bothering to tweak reply LLSD or attempt to send it if the incoming request has no replyKey, in effect not requesting a reply. This supports LLEventAPI operations for which the caller might or might not care about a reply, invoked using either send() (fire and forget) or request() (send request, wait for response). This logic should be central, instead of having to perform that test in every caller that cares. The major alternative would have been to treat missing replyKey as an error (whether LL_ERRS or exception). But since there's already a mechanism by which an LLEventAPI operation method can stipulate its replyKey as required, at this level we can let it be optional.
Diffstat (limited to 'indra/lib')
0 files changed, 0 insertions, 0 deletions