From 631d5e16ef8c5340b6283b1a9ed9cc95aea3e3a1 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 12 Oct 2011 21:51:34 +0100 Subject: Get rid of some traces of the old pre-ROBUST grid architecture config --- OpenSim/Framework/ConfigSettings.cs | 7 ------- OpenSim/Framework/NetworkServersInfo.cs | 31 ------------------------------- 2 files changed, 38 deletions(-) (limited to 'OpenSim/Framework') diff --git a/OpenSim/Framework/ConfigSettings.cs b/OpenSim/Framework/ConfigSettings.cs index 50328d7..b0bdebe 100644 --- a/OpenSim/Framework/ConfigSettings.cs +++ b/OpenSim/Framework/ConfigSettings.cs @@ -37,13 +37,6 @@ namespace OpenSim.Framework public bool PhysicalPrim { get; set; } public string LibrariesXMLFile { get; set; } - public const uint DefaultAssetServerHttpPort = 8003; public const uint DefaultRegionHttpPort = 9000; - public const uint DefaultUserServerHttpPort = 8002; - public const bool DefaultUserServerHttpSSL = false; - public const uint DefaultMessageServerHttpPort = 8006; - public const bool DefaultMessageServerHttpSSL = false; - public const uint DefaultGridServerHttpPort = 8003; - public const uint DefaultInventoryServerHttpPort = 8003; } } \ No newline at end of file diff --git a/OpenSim/Framework/NetworkServersInfo.cs b/OpenSim/Framework/NetworkServersInfo.cs index 5bb4111..4b7d4c7 100644 --- a/OpenSim/Framework/NetworkServersInfo.cs +++ b/OpenSim/Framework/NetworkServersInfo.cs @@ -32,19 +32,9 @@ namespace OpenSim.Framework { public class NetworkServersInfo { - public string AssetSendKey = String.Empty; - public string AssetURL = "http://127.0.0.1:" + ConfigSettings.DefaultAssetServerHttpPort.ToString() + "/"; - - public string GridRecvKey = String.Empty; - public string GridSendKey = String.Empty; - public string GridURL = String.Empty; public uint HttpListenerPort = ConfigSettings.DefaultRegionHttpPort; - public string InventoryURL = String.Empty; public bool secureInventoryServer = false; public bool isSandbox; - public string UserRecvKey = String.Empty; - public string UserSendKey = String.Empty; - public string UserURL = String.Empty; public bool HttpUsesSSL = false; public string HttpSSLCN = ""; public uint httpSSLPort = 9001; @@ -55,8 +45,6 @@ namespace OpenSim.Framework public string cert_path = String.Empty; public string cert_pass = String.Empty; - public string MessagingURL = String.Empty; - public NetworkServersInfo() { } @@ -65,33 +53,14 @@ namespace OpenSim.Framework { } - public void loadFromConfiguration(IConfigSource config) { - HttpListenerPort = (uint) config.Configs["Network"].GetInt("http_listener_port", (int) ConfigSettings.DefaultRegionHttpPort); httpSSLPort = (uint)config.Configs["Network"].GetInt("http_listener_sslport", ((int)ConfigSettings.DefaultRegionHttpPort+1)); HttpUsesSSL = config.Configs["Network"].GetBoolean("http_listener_ssl", false); HttpSSLCN = config.Configs["Network"].GetString("http_listener_cn", "localhost"); - GridURL = - config.Configs["Network"].GetString("grid_server_url", - "http://127.0.0.1:" + ConfigSettings.DefaultGridServerHttpPort.ToString()); - GridSendKey = config.Configs["Network"].GetString("grid_send_key", "null"); - GridRecvKey = config.Configs["Network"].GetString("grid_recv_key", "null"); - UserURL = - config.Configs["Network"].GetString("user_server_url", - "http://127.0.0.1:" + ConfigSettings.DefaultUserServerHttpPort.ToString()); - UserSendKey = config.Configs["Network"].GetString("user_send_key", "null"); - UserRecvKey = config.Configs["Network"].GetString("user_recv_key", "null"); - AssetURL = config.Configs["Network"].GetString("asset_server_url", AssetURL); - InventoryURL = config.Configs["Network"].GetString("inventory_server_url", - "http://127.0.0.1:" + - ConfigSettings.DefaultInventoryServerHttpPort.ToString()); - secureInventoryServer = config.Configs["Network"].GetBoolean("secure_inventory_server", true); - - MessagingURL = config.Configs["Network"].GetString("messaging_server_url", string.Empty); // "Out of band management https" ssl_listener = config.Configs["Network"].GetBoolean("https_listener",false); -- cgit v1.1