diff options
author | lbsa71 | 2009-04-16 17:57:17 +0000 |
---|---|---|
committer | lbsa71 | 2009-04-16 17:57:17 +0000 |
commit | ec219f025afd1ecf1997d358f10a74a670d65e86 (patch) | |
tree | b3a3ea2736d6345377cf6c604522b03115554bb2 /OpenSim/Framework | |
parent | trying to fix exception in Random.Next() probably caused through sharing of (diff) | |
download | opensim-SC-ec219f025afd1ecf1997d358f10a74a670d65e86.zip opensim-SC-ec219f025afd1ecf1997d358f10a74a670d65e86.tar.gz opensim-SC-ec219f025afd1ecf1997d358f10a74a670d65e86.tar.bz2 opensim-SC-ec219f025afd1ecf1997d358f10a74a670d65e86.tar.xz |
* Started arduous config refactoring task with babystep introduction of common baseclass for backend configs.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/AssetConfig.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/ConfigBase.cs | 10 | ||||
-rw-r--r-- | OpenSim/Framework/GridConfig.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/InventoryConfig.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/MessageServerConfig.cs | 2 | ||||
-rw-r--r-- | OpenSim/Framework/UserConfig.cs | 2 |
6 files changed, 15 insertions, 5 deletions
diff --git a/OpenSim/Framework/AssetConfig.cs b/OpenSim/Framework/AssetConfig.cs index 233c3d0..804a270 100644 --- a/OpenSim/Framework/AssetConfig.cs +++ b/OpenSim/Framework/AssetConfig.cs | |||
@@ -33,7 +33,7 @@ namespace OpenSim.Framework | |||
33 | /// <summary> | 33 | /// <summary> |
34 | /// AssetConfig -- For Asset Server Configuration | 34 | /// AssetConfig -- For Asset Server Configuration |
35 | /// </summary> | 35 | /// </summary> |
36 | public class AssetConfig | 36 | public class AssetConfig:ConfigBase |
37 | { | 37 | { |
38 | public const uint DefaultHttpPort = 8003; | 38 | public const uint DefaultHttpPort = 8003; |
39 | 39 | ||
diff --git a/OpenSim/Framework/ConfigBase.cs b/OpenSim/Framework/ConfigBase.cs new file mode 100644 index 0000000..5479f2f --- /dev/null +++ b/OpenSim/Framework/ConfigBase.cs | |||
@@ -0,0 +1,10 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | |||
5 | namespace OpenSim.Framework | ||
6 | { | ||
7 | public abstract class ConfigBase | ||
8 | { | ||
9 | } | ||
10 | } | ||
diff --git a/OpenSim/Framework/GridConfig.cs b/OpenSim/Framework/GridConfig.cs index 52bc3d6..640eeaa 100644 --- a/OpenSim/Framework/GridConfig.cs +++ b/OpenSim/Framework/GridConfig.cs | |||
@@ -29,7 +29,7 @@ using System; | |||
29 | 29 | ||
30 | namespace OpenSim.Framework | 30 | namespace OpenSim.Framework |
31 | { | 31 | { |
32 | public class GridConfig | 32 | public class GridConfig:ConfigBase |
33 | { | 33 | { |
34 | public static uint DefaultHttpPort = 8001; | 34 | public static uint DefaultHttpPort = 8001; |
35 | 35 | ||
diff --git a/OpenSim/Framework/InventoryConfig.cs b/OpenSim/Framework/InventoryConfig.cs index 90e4482..8141290 100644 --- a/OpenSim/Framework/InventoryConfig.cs +++ b/OpenSim/Framework/InventoryConfig.cs | |||
@@ -32,7 +32,7 @@ namespace OpenSim.Framework | |||
32 | /// <summary> | 32 | /// <summary> |
33 | /// Defines and handles inventory grid server configuration | 33 | /// Defines and handles inventory grid server configuration |
34 | /// </summary> | 34 | /// </summary> |
35 | public class InventoryConfig | 35 | public class InventoryConfig:ConfigBase |
36 | { | 36 | { |
37 | public static uint DefaultHttpPort = 8004; | 37 | public static uint DefaultHttpPort = 8004; |
38 | 38 | ||
diff --git a/OpenSim/Framework/MessageServerConfig.cs b/OpenSim/Framework/MessageServerConfig.cs index d2f07b9..1af9b13 100644 --- a/OpenSim/Framework/MessageServerConfig.cs +++ b/OpenSim/Framework/MessageServerConfig.cs | |||
@@ -32,7 +32,7 @@ namespace OpenSim.Framework | |||
32 | /// <summary> | 32 | /// <summary> |
33 | /// Message Server Config - Configuration of the Message Server | 33 | /// Message Server Config - Configuration of the Message Server |
34 | /// </summary> | 34 | /// </summary> |
35 | public class MessageServerConfig | 35 | public class MessageServerConfig:ConfigBase |
36 | { | 36 | { |
37 | public static uint DefaultHttpPort = 8006; | 37 | public static uint DefaultHttpPort = 8006; |
38 | public static bool DefaultHttpSSL = false; | 38 | public static bool DefaultHttpSSL = false; |
diff --git a/OpenSim/Framework/UserConfig.cs b/OpenSim/Framework/UserConfig.cs index ea2cba0..49668af 100644 --- a/OpenSim/Framework/UserConfig.cs +++ b/OpenSim/Framework/UserConfig.cs | |||
@@ -33,7 +33,7 @@ namespace OpenSim.Framework | |||
33 | /// <summary> | 33 | /// <summary> |
34 | /// UserConfig -- For User Server Configuration | 34 | /// UserConfig -- For User Server Configuration |
35 | /// </summary> | 35 | /// </summary> |
36 | public class UserConfig | 36 | public class UserConfig:ConfigBase |
37 | { | 37 | { |
38 | public static uint DefaultHttpPort = 8002; | 38 | public static uint DefaultHttpPort = 8002; |
39 | public static bool DefaultHttpSSL = false; | 39 | public static bool DefaultHttpSSL = false; |