diff options
author | Rider Linden <rider@lindenlab.com> | 2015-08-14 16:56:19 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2015-08-14 16:56:19 -0700 |
commit | 8c311d69cdaf380782fa58e441804f2272a3fbf2 (patch) | |
tree | df5bb75acaa0e41336a9c669d74007146dbdcfae /indra/llmessage | |
parent | aa3042ea331479128a65d890d44314cc7c630e2c (diff) |
MAINT-5506: Forgot to remove LLFnPtrResponder
Diffstat (limited to 'indra/llmessage')
-rwxr-xr-x | indra/llmessage/message.cpp | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/indra/llmessage/message.cpp b/indra/llmessage/message.cpp index 8c2d3f12d4..feb756a0c7 100755 --- a/indra/llmessage/message.cpp +++ b/indra/llmessage/message.cpp @@ -97,45 +97,6 @@ public: apr_pollfd_t mPollFD; }; -namespace -{ - class LLFnPtrResponder : public LLHTTPClient::Responder - { - LOG_CLASS(LLFnPtrResponder); - public: - LLFnPtrResponder(void (*callback)(void **,S32), void **callbackData, const std::string& name) : - mCallback(callback), - mCallbackData(callbackData), - mMessageName(name) - { - } - - protected: - virtual void httpFailure() - { - // don't spam when agent communication disconnected already - if (HTTP_GONE != getStatus()) - { - LL_WARNS("Messaging") << "error for message " << mMessageName - << " " << dumpResponse() << LL_ENDL; - } - // TODO: Map status in to useful error code. - if(NULL != mCallback) mCallback(mCallbackData, LL_ERR_TCP_TIMEOUT); - } - - virtual void httpSuccess() - { - if(NULL != mCallback) mCallback(mCallbackData, LL_ERR_NOERR); - } - - private: - - void (*mCallback)(void **,S32); - void **mCallbackData; - std::string mMessageName; - }; -} - class LLMessageHandlerBridge : public LLHTTPNode { virtual bool validate(const std::string& name, LLSD& context) const |