diff options
author | Rider Linden <rider@lindenlab.com> | 2015-08-14 16:45:26 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2015-08-14 16:45:26 -0700 |
commit | aa3042ea331479128a65d890d44314cc7c630e2c (patch) | |
tree | ae26d4686fe7a2da9b96c6e7df2c4f7ea5effcbc /indra/llmessage/message.h | |
parent | 248d61fe0eadd128c7704e37922ba7fdef35d630 (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-x | indra/llmessage/message.h | 6 |
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; |