* Started arduous config refactoring task with babystep introduction of common baseclass for backend configs.

0.6.5-rc1
lbsa71 2009-04-16 17:57:17 +00:00
parent 4de3f9b597
commit ec219f025a
6 changed files with 15 additions and 5 deletions

View File

@ -33,7 +33,7 @@ namespace OpenSim.Framework
/// <summary> /// <summary>
/// AssetConfig -- For Asset Server Configuration /// AssetConfig -- For Asset Server Configuration
/// </summary> /// </summary>
public class AssetConfig public class AssetConfig:ConfigBase
{ {
public const uint DefaultHttpPort = 8003; public const uint DefaultHttpPort = 8003;

View File

@ -0,0 +1,10 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace OpenSim.Framework
{
public abstract class ConfigBase
{
}
}

View File

@ -29,7 +29,7 @@ using System;
namespace OpenSim.Framework namespace OpenSim.Framework
{ {
public class GridConfig public class GridConfig:ConfigBase
{ {
public static uint DefaultHttpPort = 8001; public static uint DefaultHttpPort = 8001;

View File

@ -32,7 +32,7 @@ namespace OpenSim.Framework
/// <summary> /// <summary>
/// Defines and handles inventory grid server configuration /// Defines and handles inventory grid server configuration
/// </summary> /// </summary>
public class InventoryConfig public class InventoryConfig:ConfigBase
{ {
public static uint DefaultHttpPort = 8004; public static uint DefaultHttpPort = 8004;

View File

@ -32,7 +32,7 @@ namespace OpenSim.Framework
/// <summary> /// <summary>
/// Message Server Config - Configuration of the Message Server /// Message Server Config - Configuration of the Message Server
/// </summary> /// </summary>
public class MessageServerConfig public class MessageServerConfig:ConfigBase
{ {
public static uint DefaultHttpPort = 8006; public static uint DefaultHttpPort = 8006;
public static bool DefaultHttpSSL = false; public static bool DefaultHttpSSL = false;

View File

@ -33,7 +33,7 @@ namespace OpenSim.Framework
/// <summary> /// <summary>
/// UserConfig -- For User Server Configuration /// UserConfig -- For User Server Configuration
/// </summary> /// </summary>
public class UserConfig public class UserConfig:ConfigBase
{ {
public static uint DefaultHttpPort = 8002; public static uint DefaultHttpPort = 8002;
public static bool DefaultHttpSSL = false; public static bool DefaultHttpSSL = false;