diff options
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/ConfigSettings.cs | 9 | ||||
-rw-r--r-- | OpenSim/Framework/NetworkServersInfo.cs | 17 |
2 files changed, 0 insertions, 26 deletions
diff --git a/OpenSim/Framework/ConfigSettings.cs b/OpenSim/Framework/ConfigSettings.cs index 32415e0..8feaa37 100644 --- a/OpenSim/Framework/ConfigSettings.cs +++ b/OpenSim/Framework/ConfigSettings.cs | |||
@@ -44,14 +44,6 @@ namespace OpenSim.Framework | |||
44 | set { m_meshEngineName = value; } | 44 | set { m_meshEngineName = value; } |
45 | } | 45 | } |
46 | 46 | ||
47 | private bool m_standalone; | ||
48 | |||
49 | public bool Standalone | ||
50 | { | ||
51 | get { return m_standalone; } | ||
52 | set { m_standalone = value; } | ||
53 | } | ||
54 | |||
55 | private bool m_see_into_region_from_neighbor; | 47 | private bool m_see_into_region_from_neighbor; |
56 | 48 | ||
57 | public bool See_into_region_from_neighbor | 49 | public bool See_into_region_from_neighbor |
@@ -163,7 +155,6 @@ namespace OpenSim.Framework | |||
163 | 155 | ||
164 | public const uint DefaultAssetServerHttpPort = 8003; | 156 | public const uint DefaultAssetServerHttpPort = 8003; |
165 | public const uint DefaultRegionHttpPort = 9000; | 157 | public const uint DefaultRegionHttpPort = 9000; |
166 | public static uint DefaultRegionRemotingPort = 8895; // This is actually assigned to, but then again, the remoting is obsolete, right? | ||
167 | public const uint DefaultUserServerHttpPort = 8002; | 158 | public const uint DefaultUserServerHttpPort = 8002; |
168 | public const bool DefaultUserServerHttpSSL = false; | 159 | public const bool DefaultUserServerHttpSSL = false; |
169 | public const uint DefaultMessageServerHttpPort = 8006; | 160 | public const uint DefaultMessageServerHttpPort = 8006; |
diff --git a/OpenSim/Framework/NetworkServersInfo.cs b/OpenSim/Framework/NetworkServersInfo.cs index f720222..b25f8b9 100644 --- a/OpenSim/Framework/NetworkServersInfo.cs +++ b/OpenSim/Framework/NetworkServersInfo.cs | |||
@@ -42,8 +42,6 @@ namespace OpenSim.Framework | |||
42 | public string InventoryURL = String.Empty; | 42 | public string InventoryURL = String.Empty; |
43 | public bool secureInventoryServer = false; | 43 | public bool secureInventoryServer = false; |
44 | public bool isSandbox; | 44 | public bool isSandbox; |
45 | private uint? m_defaultHomeLocX; | ||
46 | private uint? m_defaultHomeLocY; | ||
47 | public string UserRecvKey = String.Empty; | 45 | public string UserRecvKey = String.Empty; |
48 | public string UserSendKey = String.Empty; | 46 | public string UserSendKey = String.Empty; |
49 | public string UserURL = String.Empty; | 47 | public string UserURL = String.Empty; |
@@ -59,24 +57,11 @@ namespace OpenSim.Framework | |||
59 | 57 | ||
60 | public NetworkServersInfo(uint defaultHomeLocX, uint defaultHomeLocY) | 58 | public NetworkServersInfo(uint defaultHomeLocX, uint defaultHomeLocY) |
61 | { | 59 | { |
62 | m_defaultHomeLocX = defaultHomeLocX; | ||
63 | m_defaultHomeLocY = defaultHomeLocY; | ||
64 | } | 60 | } |
65 | 61 | ||
66 | public uint DefaultHomeLocX | ||
67 | { | ||
68 | get { return m_defaultHomeLocX.Value; } | ||
69 | } | ||
70 | |||
71 | public uint DefaultHomeLocY | ||
72 | { | ||
73 | get { return m_defaultHomeLocY.Value; } | ||
74 | } | ||
75 | 62 | ||
76 | public void loadFromConfiguration(IConfigSource config) | 63 | public void loadFromConfiguration(IConfigSource config) |
77 | { | 64 | { |
78 | m_defaultHomeLocX = (uint) config.Configs["StandAlone"].GetInt("default_location_x", 1000); | ||
79 | m_defaultHomeLocY = (uint) config.Configs["StandAlone"].GetInt("default_location_y", 1000); | ||
80 | 65 | ||
81 | HttpListenerPort = | 66 | HttpListenerPort = |
82 | (uint) config.Configs["Network"].GetInt("http_listener_port", (int) ConfigSettings.DefaultRegionHttpPort); | 67 | (uint) config.Configs["Network"].GetInt("http_listener_port", (int) ConfigSettings.DefaultRegionHttpPort); |
@@ -84,8 +69,6 @@ namespace OpenSim.Framework | |||
84 | (uint)config.Configs["Network"].GetInt("http_listener_sslport", ((int)ConfigSettings.DefaultRegionHttpPort+1)); | 69 | (uint)config.Configs["Network"].GetInt("http_listener_sslport", ((int)ConfigSettings.DefaultRegionHttpPort+1)); |
85 | HttpUsesSSL = config.Configs["Network"].GetBoolean("http_listener_ssl", false); | 70 | HttpUsesSSL = config.Configs["Network"].GetBoolean("http_listener_ssl", false); |
86 | HttpSSLCN = config.Configs["Network"].GetString("http_listener_cn", "localhost"); | 71 | HttpSSLCN = config.Configs["Network"].GetString("http_listener_cn", "localhost"); |
87 | ConfigSettings.DefaultRegionRemotingPort = | ||
88 | (uint) config.Configs["Network"].GetInt("remoting_listener_port", (int) ConfigSettings.DefaultRegionRemotingPort); | ||
89 | GridURL = | 72 | GridURL = |
90 | config.Configs["Network"].GetString("grid_server_url", | 73 | config.Configs["Network"].GetString("grid_server_url", |
91 | "http://127.0.0.1:" + ConfigSettings.DefaultGridServerHttpPort.ToString()); | 74 | "http://127.0.0.1:" + ConfigSettings.DefaultGridServerHttpPort.ToString()); |