summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Brashears <aaronb@lindenlab.com>2007-07-30 19:45:53 +0000
committerAaron Brashears <aaronb@lindenlab.com>2007-07-30 19:45:53 +0000
commitedaad2720131ab9c920ba5a8f03406e1a094981e (patch)
treea2762eb6eb93203594a31d117b3f44190ea1575b
parent24c0e384facb659775ecd5c2f9becc3694f80289 (diff)
Result of svn merge -r66103:66418 svn+ssh://svn/svn/linden/branches/mp-backbone into release
-rw-r--r--indra/llcommon/lluri.cpp111
1 files changed, 0 insertions, 111 deletions
diff --git a/indra/llcommon/lluri.cpp b/indra/llcommon/lluri.cpp
index 22526c9a03..18867a77e1 100644
--- a/indra/llcommon/lluri.cpp
+++ b/indra/llcommon/lluri.cpp
@@ -299,117 +299,6 @@ LLURI LLURI::buildHTTP(const std::string& host,
return LLURI::buildHTTP(llformat("%s:%u", host.c_str(), port), path, query);
}
-namespace {
- LLURI buildBackboneURL(LLApp* app,
- const std::string& p1 = "",
- const std::string& p2 = "",
- const std::string& p3 = "")
- {
- std::string host = "localhost:12040";
-
- if (app)
- {
- host = app->getOption("backbone-host-port").asString();
- }
-
- LLSD path = LLSD::emptyArray();
- if (!p1.empty()) path.append(p1);
- if (!p2.empty()) path.append(p2);
- if (!p3.empty()) path.append(p3);
-
- return LLURI::buildHTTP(host, path);
- }
-}
-
-#if LL_ENABLE_JANKY_DEPRECATED_WEB_SERVICE_CALLS
-// static
-LLURI LLURI::buildBulkAgentNamesURI(LLApp* app)
-{
- std::string host = "localhost:12040";
-
- if (app)
- {
- host = app->getOption("backbone-host-port").asString();
- }
-
- LLSD path = LLSD::emptyArray();
- path.append("agent");
- path.append("names");
-
- return buildHTTP(host, path);
-}
-
-// static
-LLURI LLURI::buildBulkAgentNamesURI(LLApp* app)
-{
- std::string host = "localhost:12040";
-
- if (app)
- {
- host = app->getOption("backbone-host-port").asString();
- }
-
- LLSD path = LLSD::emptyArray();
- path.append("agent");
- path.append("names");
-
- return buildHTTP(host, path);
-}
-
-// static
-LLURI LLURI::buildAgentSessionURI(const LLUUID& agent_id, LLApp* app)
-{
- return buildBackboneURL(app, "agent", agent_id.asString(), "session");
-}
-
-// static
-LLURI LLURI::buildAgentNameURI(const LLUUID& agent_id, LLApp* app)
-{
- std::string host = "localhost:12040";
-
- if (app)
- {
- host = app->getOption("backbone-host-port").asString();
- }
-
- LLSD path = LLSD::emptyArray();
- path.append("agent");
- path.append(agent_id);
- path.append("name");
-
- return buildHTTP(host, path);
-}
-
-// static
-LLURI LLURI::buildAgentNameURI(const LLUUID& agent_id, LLApp* app)
-{
- std::string host = "localhost:12040";
-
- if (app)
- {
- host = app->getOption("backbone-host-port").asString();
- }
-
- LLSD path = LLSD::emptyArray();
- path.append("agent");
- path.append(agent_id);
- path.append("name");
-
- return buildHTTP(host, path);
-}
-
-// static
-LLURI LLURI::buildAgentLoginInfoURI(const LLUUID& agent_id, const std::string& dataserver)
-{
- LLSD path = LLSD::emptyArray();
- path.append("agent");
- path.append(agent_id);
- path.append("logininfo");
-
- return buildHTTP(dataserver, path);
-}
-#endif // LL_ENABLE_JANKY_DEPRECATED_WEB_SERVICE_CALLS
-
std::string LLURI::asString() const
{
if (mScheme.empty())