* 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>
/// AssetConfig -- For Asset Server Configuration
/// </summary>
public class AssetConfig
public class AssetConfig:ConfigBase
{
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
{
public class GridConfig
public class GridConfig:ConfigBase
{
public static uint DefaultHttpPort = 8001;

View File

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

View File

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

View File

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