summaryrefslogtreecommitdiff
path: root/indra/llmessage/message.h
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2015-08-14 16:45:26 -0700
committerRider Linden <rider@lindenlab.com>2015-08-14 16:45:26 -0700
commitaa3042ea331479128a65d890d44314cc7c630e2c (patch)
treeae26d4686fe7a2da9b96c6e7df2c4f7ea5effcbc /indra/llmessage/message.h
parent248d61fe0eadd128c7704e37922ba7fdef35d630 (diff)
MAINT-5506: Converted llmessage untrusted sim message responder to coroutine.
Removed HTTPSender, HTTPNullSender, HTTPCapSender. Moved UntrustedMessageCap storage into LLHost Added boost libraries to PROJECT_x_TEST linkage.
Diffstat (limited to 'indra/llmessage/message.h')
-rwxr-xr-xindra/llmessage/message.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/llmessage/message.h b/indra/llmessage/message.h
index 348b09b992..c1ab67b5a1 100755
--- a/indra/llmessage/message.h
+++ b/indra/llmessage/message.h
@@ -60,6 +60,8 @@
#include "llmessagesenderinterface.h"
#include "llstoredmessage.h"
+#include "llcoros.h"
+#include "lleventcoro.h"
const U32 MESSAGE_MAX_STRINGS_LENGTH = 64;
const U32 MESSAGE_NUMBER_OF_HASH_BUCKETS = 8192;
@@ -489,7 +491,6 @@ public:
void (*callback)(void **,S32),
void ** callback_data);
- LLCurl::ResponderPtr createResponder(const std::string& name);
S32 sendMessage(const LLHost &host);
S32 sendMessage(const U32 circuit);
private:
@@ -740,6 +741,9 @@ public:
void receivedMessageFromTrustedSender();
private:
+ typedef boost::function<void(S32)> UntrustedCallback_t;
+ void sendUntrustedSimulatorMessageCoro(std::string url, std::string message, LLSD body, UntrustedCallback_t callback);
+
bool mLastMessageFromTrustedMessageService;