aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/UserConfig.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-08-09 21:01:33 +0000
committerJustin Clarke Casey2008-08-09 21:01:33 +0000
commit6630706dd9507c216a88de66dca8d4439c03ac49 (patch)
tree86e977e38c43bebc8f7fc6450f2f03123554dd5c /OpenSim/Framework/UserConfig.cs
parent* minor: oops, forgot the code that actually ends up eliminating the unused c... (diff)
downloadopensim-SC_OLD-6630706dd9507c216a88de66dca8d4439c03ac49.zip
opensim-SC_OLD-6630706dd9507c216a88de66dca8d4439c03ac49.tar.gz
opensim-SC_OLD-6630706dd9507c216a88de66dca8d4439c03ac49.tar.bz2
opensim-SC_OLD-6630706dd9507c216a88de66dca8d4439c03ac49.tar.xz
* Reinstate grid receive and send keys to user server config
* Looks like these weren't so unused after all - oops! * Remove message from grid server config
Diffstat (limited to 'OpenSim/Framework/UserConfig.cs')
-rw-r--r--OpenSim/Framework/UserConfig.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Framework/UserConfig.cs b/OpenSim/Framework/UserConfig.cs
index cb3365f..6cf526c 100644
--- a/OpenSim/Framework/UserConfig.cs
+++ b/OpenSim/Framework/UserConfig.cs
@@ -42,6 +42,8 @@ namespace OpenSim.Framework
42 public string DefaultStartupMsg = String.Empty; 42 public string DefaultStartupMsg = String.Empty;
43 public uint DefaultX = 1000; 43 public uint DefaultX = 1000;
44 public uint DefaultY = 1000; 44 public uint DefaultY = 1000;
45 public string GridRecvKey = String.Empty;
46 public string GridSendKey = String.Empty;
45 public uint HttpPort = DefaultHttpPort; 47 public uint HttpPort = DefaultHttpPort;
46 public bool HttpSSL = DefaultHttpSSL; 48 public bool HttpSSL = DefaultHttpSSL;
47 49
@@ -96,6 +98,10 @@ namespace OpenSim.Framework
96 ConfigurationOption.ConfigurationTypes.TYPE_STRING_NOT_EMPTY, 98 ConfigurationOption.ConfigurationTypes.TYPE_STRING_NOT_EMPTY,
97 "Default Grid Server URI", 99 "Default Grid Server URI",
98 "http://127.0.0.1:" + GridConfig.DefaultHttpPort + "/", false); 100 "http://127.0.0.1:" + GridConfig.DefaultHttpPort + "/", false);
101 configMember.addConfigurationOption("grid_send_key", ConfigurationOption.ConfigurationTypes.TYPE_STRING,
102 "Key to send to grid server", "null", false);
103 configMember.addConfigurationOption("grid_recv_key", ConfigurationOption.ConfigurationTypes.TYPE_STRING,
104 "Key to expect from grid server", "null", false);
99 105
100 configMember.addConfigurationOption("default_inventory_server", 106 configMember.addConfigurationOption("default_inventory_server",
101 ConfigurationOption.ConfigurationTypes.TYPE_STRING_NOT_EMPTY, 107 ConfigurationOption.ConfigurationTypes.TYPE_STRING_NOT_EMPTY,
@@ -129,6 +135,12 @@ namespace OpenSim.Framework
129 case "default_grid_server": 135 case "default_grid_server":
130 GridServerURL = new Uri( (string) configuration_result ); 136 GridServerURL = new Uri( (string) configuration_result );
131 break; 137 break;
138 case "grid_send_key":
139 GridSendKey = (string) configuration_result;
140 break;
141 case "grid_recv_key":
142 GridRecvKey = (string) configuration_result;
143 break;
132 case "default_inventory_server": 144 case "default_inventory_server":
133 InventoryUrl = new Uri((string) configuration_result); 145 InventoryUrl = new Uri((string) configuration_result);
134 break; 146 break;